﻿body {
    background-color: #e9e9e9;
}

.container-fluid {
    padding-right: 15px;
    padding-left: 15px;
    margin-top: 10px;
    margin-right: auto;
    margin-left: auto;
}

.glass-nav {
    background-color: #163461;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.nav-item {
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
}

    .nav-item i {
        margin-right: 8px;
        font-size: 16px;
    }

    .nav-item::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #64ffda, #00bfff);
        transition: width 0.3s ease;
    }

    .nav-item:hover::after {
        width: 100%;
    }

    .nav-item.active {
        background-color: #1e3a8a;
        color: white;
        position: relative;
    }

        .nav-item.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 3px;
            background: #3b82f6;
            transition: all 0.3s ease;
        }

.dropdown-menu {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
    pointer-events: none;
    background: #163461;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

    .dropdown-menu.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #102649;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

    .mobile-menu.active {
        max-height: 500px;
    }

.tech-card {
    background: rgba(10, 25, 47, 0.6);
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .tech-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.1), transparent);
        transition: all 0.6s ease;
    }

    .tech-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 191, 255, 0.1);
    }

        .tech-card:hover::before {
            left: 100%;
        }

.glow-btn {
    position: relative;
    overflow: hidden;
}

    .glow-btn::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(100, 255, 218, 0.3), transparent);
        transform: rotate(45deg);
        transition: all 0.6s ease;
    }

    .glow-btn:hover::before {
        left: 100%;
        top: 100%;
    }

.tech-icon {
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1), rgba(0, 191, 255, 0.1));
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.footer {
    background: rgba(10, 25, 47, 0.8);
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.grid-pattern {
    background-image: linear-gradient(rgba(100, 255, 218, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(100, 255, 218, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    display: block;
    width: 100%;
    text-align: left;
    transition: all 0.2s ease;
}

    .dropdown-item:hover {
        background-color: rgba(100, 255, 218, 0.1);
    }

.mobile-nav-item {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

    .mobile-nav-item i {
        margin-right: 8px;
        font-size: 16px;
    }

    .mobile-nav-item.active {
        background-color: #1e3a8a;
        color: white;
    }

/* 模态框样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.modal-container {
    background: rgba(10, 25, 47, 0.95);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.1);
    overflow: hidden;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #64ffda;
}

.modal-close {
    background: transparent;
    border: none;
    color: #64ffda;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .modal-close:hover {
        transform: rotate(90deg);
    }

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.modal-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-btn-primary {
    background: linear-gradient(135deg, #64ffda, #00bfff);
    color: #0a192f;
    border: none;
}

    .modal-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
    }

.modal-btn-secondary {
    background: transparent;
    color: #64ffda;
    border: 1px solid rgba(100, 255, 218, 0.3);
}

    .modal-btn-secondary:hover {
        background: rgba(100, 255, 218, 0.1);
    }

/* 表单样式 */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #64ffda;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    background: rgba(10, 25, 47, 0.7);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 6px;
    color: #e6f1ff;
    transition: all 0.2s ease;
}

    .form-control:focus {
        outline: none;
        border-color: #64ffda;
        box-shadow: 0 0 0 2px rgba(100, 255, 218, 0.2);
    }

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #64ffda, #00bfff);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 16px;
    font-size: 32px;
    color: #0a192f;
}

.user-info {
    text-align: center;
    margin-bottom: 24px;
}

.user-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.user-role {
    font-size: 14px;
    color: #64ffda;
    background: rgba(100, 255, 218, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
}

.success-message {
    text-align: center;
    padding: 24px;
}

.success-icon {
    font-size: 48px;
    color: #64ffda;
    margin-bottom: 16px;
}

.success-text {
    font-size: 16px;
    color: #e6f1ff;
}

.error-text {
    font-size: 12px;
    color: #ff6b6b;
    margin-top: 4px;
    display: none;
}

.input-error .form-control {
    border-color: #ff6b6b;
}

.input-error .error-text {
    display: block;
}
