/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Ice Cracks Background */
.ice-cracks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background-image: 
        linear-gradient(45deg, transparent 48%, rgba(135, 206, 235, 0.1) 49%, rgba(135, 206, 235, 0.1) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(135, 206, 235, 0.1) 49%, rgba(135, 206, 235, 0.1) 51%, transparent 52%),
        linear-gradient(90deg, transparent 48%, rgba(135, 206, 235, 0.05) 49%, rgba(135, 206, 235, 0.05) 51%, transparent 52%),
        linear-gradient(0deg, transparent 48%, rgba(135, 206, 235, 0.05) 49%, rgba(135, 206, 235, 0.05) 51%, transparent 52%);
    background-size: 200px 200px, 200px 200px, 100px 100px, 100px 100px;
    animation: crackShift 20s ease-in-out infinite;
}

@keyframes crackShift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-10px, -5px) rotate(0.5deg); }
    50% { transform: translate(5px, -10px) rotate(-0.3deg); }
    75% { transform: translate(-5px, 5px) rotate(0.2deg); }
}

/* Icicle Animation Container */
#icicle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.icicle {
    position: absolute;
    width: 4px;
    height: 40px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.9) 0%,
        rgba(135, 206, 235, 0.8) 50%,
        rgba(135, 206, 235, 0.6) 100%);
    border-radius: 0 0 2px 2px;
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        inset 0 0 5px rgba(135, 206, 235, 0.3);
    animation: icicleFall 3s linear forwards;
}

.icicle::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -1px;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

@keyframes icicleFall {
    0% {
        transform: translateY(-50px) rotate(0deg);
        opacity: 1;
    }
    90% {
        transform: translateY(calc(100vh + 50px)) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh + 50px)) rotate(0deg);
        opacity: 0;
    }
}

.icicle-shatter {
    animation: icicleShatter 0.5s ease-out forwards;
}

@keyframes icicleShatter {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: scale(0) rotate(180deg);
        opacity: 0;
    }
}

/* App Container */
.app-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(135, 206, 235, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.nav-brand i {
    color: #87CEEB;
    text-shadow: 0 0 15px rgba(135, 206, 235, 0.8);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: rgba(135, 206, 235, 0.1);
    box-shadow: 0 0 15px rgba(135, 206, 235, 0.3);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-notification {
    position: relative;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-notification:hover {
    color: #ffffff;
    background: rgba(135, 206, 235, 0.1);
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff4757;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.user-profile:hover {
    background: rgba(135, 206, 235, 0.1);
}

.profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(135, 206, 235, 0.3);
    box-shadow: 0 0 10px rgba(135, 206, 235, 0.3);
}

/* Main Content */
.main-content {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.section-header {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #87CEEB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(135, 206, 235, 0.5);
}

.section-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(135, 206, 235, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Quick Actions */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(135, 206, 235, 0.1);
    border: 1px solid rgba(135, 206, 235, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.action-btn:hover {
    background: rgba(135, 206, 235, 0.2);
    box-shadow: 0 0 20px rgba(135, 206, 235, 0.3);
    transform: translateX(5px);
}

.action-btn i {
    font-size: 1.2rem;
    color: #87CEEB;
    text-shadow: 0 0 10px rgba(135, 206, 235, 0.8);
}

/* CloudSpace Items */
.cloudspace-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.cloudspace-item:hover {
    background: rgba(135, 206, 235, 0.05);
    transform: translateX(5px);
}

.cloudspace-icon {
    width: 50px;
    height: 50px;
    background: rgba(135, 206, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #87CEEB;
    box-shadow: 0 0 15px rgba(135, 206, 235, 0.3);
}

.cloudspace-info {
    flex: 1;
}

.cloudspace-info h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cloudspace-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.btn-join {
    background: rgba(135, 206, 235, 0.2);
    border: 1px solid rgba(135, 206, 235, 0.4);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-join:hover {
    background: rgba(135, 206, 235, 0.3);
    box-shadow: 0 0 15px rgba(135, 206, 235, 0.4);
}

/* Meeting Items */
.meeting-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.meeting-item:hover {
    background: rgba(135, 206, 235, 0.05);
    transform: translateX(5px);
}

.meeting-time {
    text-align: center;
    min-width: 80px;
}

.meeting-time .time {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #87CEEB;
    text-shadow: 0 0 10px rgba(135, 206, 235, 0.8);
}

.meeting-time .date {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.meeting-info {
    flex: 1;
}

.meeting-info h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.meeting-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.btn-join-meeting {
    background: linear-gradient(135deg, #87CEEB 0%, #4A90E2 100%);
    border: none;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(135, 206, 235, 0.3);
}

.btn-join-meeting:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(135, 206, 235, 0.4);
}

/* Activity Items */
.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(135, 206, 235, 0.05);
    transform: translateX(5px);
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: rgba(135, 206, 235, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #87CEEB;
    box-shadow: 0 0 10px rgba(135, 206, 235, 0.3);
}

.activity-content {
    flex: 1;
}

.activity-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.25rem;
}

.activity-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* CloudSpaces Grid */
.cloudspaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.cloudspace-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.cloudspace-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(135, 206, 235, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cloudspace-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.cloudspace-icon-large {
    width: 60px;
    height: 60px;
    background: rgba(135, 206, 235, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #87CEEB;
    box-shadow: 0 0 20px rgba(135, 206, 235, 0.3);
}

.cloudspace-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: rgba(135, 206, 235, 0.1);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(135, 206, 235, 0.3);
}

.cloudspace-content h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.cloudspace-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.cloudspace-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cloudspace-stats span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.cloudspace-stats i {
    color: #87CEEB;
}

.cloudspace-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #87CEEB 0%, #4A90E2 100%);
    border: none;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(135, 206, 235, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(135, 206, 235, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(135, 206, 235, 0.3);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(135, 206, 235, 0.1);
    box-shadow: 0 0 15px rgba(135, 206, 235, 0.3);
}

/* Meetings Grid */
.meetings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
}

.meeting-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.meeting-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(135, 206, 235, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.meeting-preview {
    margin-bottom: 1rem;
}

.video-placeholder {
    width: 100%;
    height: 200px;
    background: rgba(135, 206, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #87CEEB;
    box-shadow: 0 0 20px rgba(135, 206, 235, 0.3);
}

.meeting-info h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.meeting-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.meeting-participants {
    margin-bottom: 1rem;
}

.participant-avatars {
    display: flex;
    align-items: center;
    gap: -10px;
}

.participant-avatars img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(135, 206, 235, 0.3);
    box-shadow: 0 0 8px rgba(135, 206, 235, 0.3);
    margin-left: -10px;
}

.participant-avatars img:first-child {
    margin-left: 0;
}

.more-participants {
    background: rgba(135, 206, 235, 0.2);
    color: #ffffff;
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    margin-left: -10px;
    border: 2px solid rgba(135, 206, 235, 0.3);
}

.meeting-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Profile Content */
.profile-content {
    max-width: 800px;
}

.profile-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(135, 206, 235, 0.2);
}

.profile-avatar-large img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(135, 206, 235, 0.3);
    box-shadow: 0 0 30px rgba(135, 206, 235, 0.4);
}

.profile-info h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.profile-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.profile-badges {
    display: flex;
    gap: 0.5rem;
}

.badge {
    background: rgba(135, 206, 235, 0.2);
    color: #87CEEB;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(135, 206, 235, 0.3);
    box-shadow: 0 0 10px rgba(135, 206, 235, 0.2);
}

.profile-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-section h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.setting-item:hover {
    background: rgba(135, 206, 235, 0.05);
}

.setting-info h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.setting-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    border-radius: 24px;
    border: 1px solid rgba(135, 206, 235, 0.3);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background: rgba(255, 255, 255, 0.3);
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background: rgba(135, 206, 235, 0.3);
    box-shadow: 0 0 15px rgba(135, 206, 235, 0.4);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
    background: #87CEEB;
    box-shadow: 0 0 10px rgba(135, 206, 235, 0.8);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 16px;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 500px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(135, 206, 235, 0.2);
}

.modal-header h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #ffffff;
    background: rgba(135, 206, 235, 0.1);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 1.5rem;
    border-top: 1px solid rgba(135, 206, 235, 0.2);
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(135, 206, 235, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #87CEEB;
    box-shadow: 0 0 15px rgba(135, 206, 235, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* File Management Styles */
.file-management-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.file-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(135, 206, 235, 0.2);
}

.file-actions {
    display: flex;
    gap: 1rem;
}

.file-view-options {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover,
.view-btn.active {
    background: rgba(135, 206, 235, 0.1);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(135, 206, 235, 0.3);
}

.file-browser {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-item:hover {
    background: rgba(135, 206, 235, 0.05);
    transform: translateX(5px);
}

.file-icon {
    width: 50px;
    height: 50px;
    background: rgba(135, 206, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #87CEEB;
    box-shadow: 0 0 15px rgba(135, 206, 235, 0.3);
}

.file-info {
    flex: 1;
}

.file-info h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.file-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.file-actions {
    display: flex;
    gap: 0.5rem;
}

/* Chat Styles */
.chat-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 1rem;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.chat-sidebar {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-right: 1px solid rgba(135, 206, 235, 0.2);
}

.chat-channels h3,
.chat-members h3 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.channel-list,
.member-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.channel-item,
.member-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
}

.channel-item:hover,
.member-item:hover {
    background: rgba(135, 206, 235, 0.1);
    color: #ffffff;
}

.channel-item.active {
    background: rgba(135, 206, 235, 0.2);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(135, 206, 235, 0.3);
}

.unread-count {
    background: #ff4757;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    margin-left: auto;
}

.member-item img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(135, 206, 235, 0.3);
}

.status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-left: auto;
}

.status.online {
    background: #2ecc71;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.6);
}

.status.away {
    background: #f39c12;
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.6);
}

.status.offline {
    background: #95a5a6;
}

.chat-main {
    display: flex;
    flex-direction: column;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid rgba(135, 206, 235, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.chat-header h3 {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.chat-actions {
    display: flex;
    gap: 0.5rem;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.message img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(135, 206, 235, 0.3);
    box-shadow: 0 0 10px rgba(135, 206, 235, 0.3);
}

.message-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(135, 206, 235, 0.1);
}

.message-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.username {
    color: #87CEEB;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(135, 206, 235, 0.6);
}

.timestamp {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.message-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.4;
}

.chat-input-container {
    padding: 1rem;
    border-top: 1px solid rgba(135, 206, 235, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.chat-input {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.chat-input input {
    flex: 1;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(135, 206, 235, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
}

.chat-input input:focus {
    outline: none;
    border-color: #87CEEB;
    box-shadow: 0 0 15px rgba(135, 206, 235, 0.3);
}

.chat-input input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Project Management Styles */
.projects-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.project-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(135, 206, 235, 0.2);
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(135, 206, 235, 0.1);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(135, 206, 235, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.project-card:hover {
    background: rgba(135, 206, 235, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.2);
}

.project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.project-header h3 {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.project-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-status.active {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.project-status.planning {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.project-status.completed {
    background: rgba(155, 89, 182, 0.2);
    color: #9b59b6;
    border: 1px solid rgba(155, 89, 182, 0.3);
}

.project-progress {
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #87CEEB 0%, #4A90E2 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(135, 206, 235, 0.5);
}

.progress-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.project-tasks {
    margin-bottom: 1rem;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
}

.task-item.completed {
    color: rgba(46, 204, 113, 0.8);
}

.task-item.completed i {
    color: #2ecc71;
    text-shadow: 0 0 8px rgba(46, 204, 113, 0.6);
}

.task-item.pending i {
    color: rgba(255, 255, 255, 0.5);
}

.project-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.project-members {
    display: flex;
    align-items: center;
    gap: -5px;
}

.project-members img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid rgba(135, 206, 235, 0.3);
    margin-left: -5px;
}

.project-members img:first-child {
    margin-left: 0;
}

.more-members {
    background: rgba(135, 206, 235, 0.2);
    color: #87CEEB;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    margin-left: -5px;
    border: 1px solid rgba(135, 206, 235, 0.3);
}

.project-deadline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.project-deadline i {
    color: #87CEEB;
}

/* Calendar Styles */
.calendar-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(135, 206, 235, 0.2);
}

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.calendar-nav h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    min-width: 200px;
    text-align: center;
}

.calendar-view-options {
    display: flex;
    gap: 0.5rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: rgba(135, 206, 235, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.calendar-day-header {
    background: rgba(135, 206, 235, 0.2);
    padding: 1rem;
    text-align: center;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.calendar-day {
    background: rgba(255, 255, 255, 0.03);
    min-height: 100px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(135, 206, 235, 0.1);
}

.calendar-day:hover {
    background: rgba(135, 206, 235, 0.1);
}

.calendar-day.today {
    background: rgba(135, 206, 235, 0.2);
    box-shadow: 0 0 15px rgba(135, 206, 235, 0.3);
}

.calendar-day.has-event {
    background: rgba(52, 152, 219, 0.1);
    border-color: rgba(52, 152, 219, 0.3);
}

.calendar-day-number {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.calendar-event {
    background: rgba(135, 206, 235, 0.3);
    color: #ffffff;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-event:hover {
    background: rgba(135, 206, 235, 0.5);
    transform: scale(1.02);
}

.calendar-events {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(135, 206, 235, 0.2);
}

.calendar-events h3 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.event-item:hover {
    background: rgba(135, 206, 235, 0.05);
    transform: translateX(5px);
}

.event-time {
    color: #87CEEB;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(135, 206, 235, 0.6);
    min-width: 80px;
}

.event-details h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.event-details p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Analytics Styles */
.analytics-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.analytics-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.analytics-card:hover {
    background: rgba(135, 206, 235, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.2);
}

.analytics-card h3 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #87CEEB;
    text-shadow: 0 0 20px rgba(135, 206, 235, 0.8);
    margin-bottom: 0.5rem;
}

.metric-change {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.metric-change.positive {
    color: #2ecc71;
}

.metric-change.negative {
    color: #e74c3c;
}

.metric-change.neutral {
    color: rgba(255, 255, 255, 0.6);
}

.chart-placeholder {
    height: 150px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(135, 206, 235, 0.1);
}

.reports-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(135, 206, 235, 0.2);
}

.reports-section h3 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.reports-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.report-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.report-item:hover {
    background: rgba(135, 206, 235, 0.05);
    transform: translateX(5px);
}

.report-icon {
    width: 50px;
    height: 50px;
    background: rgba(135, 206, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #87CEEB;
    box-shadow: 0 0 15px rgba(135, 206, 235, 0.3);
}

.report-info {
    flex: 1;
}

.report-info h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.report-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 1rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-header h1 {
        font-size: 2rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .cloudspaces-grid {
        grid-template-columns: 1fr;
    }
    
    .meetings-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.75rem;
    }
    
    .nav-brand {
        font-size: 1.2rem;
    }
    
    .main-content {
        padding: 0.75rem;
    }
    
    .section-header h1 {
        font-size: 1.5rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .profile-card {
        padding: 1rem;
    }
    
    .modal-content {
        margin: 5% auto;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
}
