/* Apple 风格模态框、表单、按钮等组件样式 */

/* 通用模态框样式 */
.apple-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(36, 39, 46, 0.25);
    backdrop-filter: blur(2px);
    transition: opacity 0.25s;
}

.apple-modal-content {
    background: #fff;
    margin: 5vh auto;
    border-radius: 24px;
    max-width: 420px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding: 2.5rem 2rem 2rem 2rem;
    position: relative;
    animation: apple-modalSlideIn 0.4s ease forwards;
}
@keyframes apple-modalSlideIn {
    from { transform: translateY(60px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.apple-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.apple-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}
.close-apple-modal {
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
    transition: color 0.18s;
}
.close-apple-modal:hover {
    color: #007aff;
}

/* Apple 风格表单 */
.apple-form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.apple-form-group label {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}
.apple-form-group input,
.apple-form-group textarea {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    background: #f7f9fa;
    transition: border-color 0.18s, background 0.18s;
}
.apple-form-group input:focus,
.apple-form-group textarea:focus {
    border-color: #007aff;
    background: #fff;
}

/* Apple 风格按钮 */
.apple-auth-submit-button,
#auth-button,
.auth-button {
    padding: 10px 28px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.01em;
    background: linear-gradient(90deg, #34aadc 0%, #007aff 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,122,255,0.08);
    border: none;
    outline: none;
    transition: background 0.22s, box-shadow 0.22s, transform 0.16s;
    display: inline-block;
}
.apple-auth-submit-button:hover,
#auth-button:hover,
.auth-button:hover {
    background: linear-gradient(90deg, #007aff 0%, #34aadc 100%);
    box-shadow: 0 4px 16px rgba(0,122,255,0.18);
    transform: translateY(-2px) scale(1.04);
}
.apple-auth-submit-button:active,
#auth-button:active,
.auth-button:active {
    background: linear-gradient(90deg, #007aff 0%, #34aadc 100%);
    box-shadow: 0 1px 4px rgba(0,122,255,0.15);
    transform: scale(0.98);
}
.apple-auth-submit-button:focus,
#auth-button:focus,
.auth-button:focus {
    outline: 2px solid #007aff33;
    outline-offset: 2px;
}

/* Apple 风格个人中心卡片 */
.apple-profile-card {
    background: #f7f9fa;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 2rem 1.5rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}
.apple-avatar-container {
    display: flex;
    justify-content: flex-start;
    margin-left: 25px;
}
.apple-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0e7ef 0%, #c8e6fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #007aff;
    box-shadow: 0 2px 8px rgba(0,122,255,0.08);
}
.apple-profile-info {
    flex: 1;
}
.apple-profile-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.apple-profile-badge {
    display: inline-block;
    background: #e0e7ef;
    color: #007aff;
    border-radius: 8px;
    padding: 0.2em 0.8em;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}
.apple-profile-details {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.apple-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.apple-detail-icon {
    width: 24px;
    height: 24px;
    color: #007aff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.apple-detail-label {
    font-size: 1rem;
    color: #555;
    font-weight: 500;
}
.apple-detail-value {
    font-size: 1rem;
    color: #222;
    margin-left: 0.5rem;
}
.apple-logout-btn {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d32f2f;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.18s;
    text-decoration: none;
}
.apple-logout-btn:hover {
    color: #b71c1c;
    text-decoration: underline;
}

/* Apple 风格切换按钮/密码显示按钮等 */
.apple-auth-toggle-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.apple-auth-toggle-btn {
    flex: 1;
    background: #f7f9fa;
    border: none;
    border-radius: 16px;
    padding: 0.75rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #007aff;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.apple-auth-toggle-btn.active,
.apple-auth-toggle-btn:hover {
    background: #e0e7ef;
    color: #005bb5;
}

.apple-password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.apple-toggle-password {
    background: none;
    border: none;
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.apple-toggle-password:hover {
    color: #007aff;
}

/* Apple 风格错误和成功提示 */
.apple-error-message {
    color: #d32f2f;
    background: #fdeaea;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.98rem;
    display: block;
}
.apple-success-message {
    color: #388e3c;
    background: #eafaf1;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.98rem;
    display: block;
}

/* Apple 风格文件上传样式 */
.file-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Apple 风格通知提示框 */
.notification {
    position: fixed;
    top: 2.5rem;
    right: 2.5rem;
    z-index: 3000;
    min-width: 220px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    padding: 1rem 1.5rem;
    display: none;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: #222;
}
.notification.show {
    display: flex;
}
.notification-icon {
    font-size: 1.25rem;
    color: #007aff;
}

/* Apple 风格加载动画 */
.loading-spinner {
    border: 4px solid #e0e7ef;
    border-top: 4px solid #007aff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    animation: spinner 1s linear infinite;
    margin-right: 0.6rem;
    display: inline-block;
}
@keyframes spinner {
    to { transform: rotate(360deg); }
}
       /* 用户认证区域样式 */
       .user-auth-area {
        margin-right: 15px;
        display: flex;
        align-items: center;
    }
    
    .auth-button, #auth-button {
        padding: 10px 28px;
        border-radius: 20px;
        cursor: pointer;
        font-weight: 600;
        font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
        text-decoration: none;
        font-size: 16px;
        letter-spacing: 0.01em;
        background: linear-gradient(90deg, #34aadc 0%, #007aff 100%);
        color: #fff;
        box-shadow: 0 2px 8px rgba(0,122,255,0.08);
        border: none;
        outline: none;
        transition: background 0.22s, box-shadow 0.22s, transform 0.16s;
        display: inline-block;
    }
    
    .auth-button:hover, #auth-button:hover {
        background: linear-gradient(90deg, #007aff 0%, #34aadc 100%);
        box-shadow: 0 4px 16px rgba(0,122,255,0.18);
        transform: translateY(-2px) scale(1.04);
    }
    
    .auth-button:active, #auth-button:active {
        background: linear-gradient(90deg, #007aff 0%, #34aadc 100%);
        box-shadow: 0 1px 4px rgba(0,122,255,0.15);
        transform: scale(0.98);
    }
    
    .auth-button:focus, #auth-button:focus {
        outline: 2px solid #007aff33;
        outline-offset: 2px;
    }
    
    .user-menu-wrapper {
        position: relative;
    }
    
    .user-menu-trigger {
        display: flex;
        align-items: center;
        cursor: pointer;
        padding: 6px 8px;
        border-radius: 4px;
        transition: all 0.2s ease;
    }
    
    .user-menu-trigger:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }
    
    .user-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background-color: #1677ff;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 8px;
        font-weight: bold;
    }
    
    .user-name {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .user-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: white;
        border-radius: 4px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
        min-width: 180px;
        z-index: 1000;
        display: none;
        margin-top: 8px;
    }
    
    .user-menu-wrapper:hover .user-dropdown {
        display: block;
    }
    
    .user-dropdown-menu {
        padding: 8px 0;
        margin: 0;
        list-style: none;
    }
    
    .user-dropdown-item {
        display: flex;
        align-items: center;
        padding: 8px 16px;
        color: #333;
        text-decoration: none;
        transition: background-color 0.2s ease;
    }
    
    .user-dropdown-item:hover {
        background-color: #f5f5f5;
    }
    
    .user-dropdown-item svg {
        margin-right: 8px;
    }
    
    @media (max-width: 768px) {
        .user-auth-area {
            margin-right: 8px;
        }
        
        .user-name {
            display: none;
        }
        
        .user-avatar {
            margin-right: 0;
        }
    }
    
    /* 语言切换器 */
    
    /* 登录/注册模态框样式 - 苹果风格升级 */
    .apple-auth-toggle-buttons {
        display: flex;
        justify-content: space-between;
        margin-bottom: 24px;
        border-radius: 16px;
        overflow: hidden;
        background: rgba(245,245,247,0.7);
        backdrop-filter: blur(8px);
        box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    }
    
    .apple-auth-toggle-btn {
        flex: 1;
        padding: 14px 0;
        border: none;
        background: none;
        cursor: pointer;
        font-size: 16px;
        font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
        transition: background 0.25s, color 0.25s;
        text-align: center;
        color: #1d1d1f;
        font-weight: 500;
        border-radius: 0;
    }
    
    .apple-auth-toggle-btn.active {
        background: linear-gradient(90deg, #34aadc 0%, #007aff 100%);
        color: #fff;
        font-weight: 600;
        box-shadow: 0 1px 8px rgba(52,170,220,0.07);
    }
    
    .apple-auth-form {
        max-height: 65vh;
        overflow-y: auto;
        padding-right: 8px;
        font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    }
    
    .apple-auth-submit-button {
        width: 100%;
        background: linear-gradient(90deg, #34aadc 0%, #007aff 100%);
        color: white;
        border: none;
        border-radius: 14px;
        padding: 14px 0;
        font-size: 17px;
        font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
        font-weight: 600;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0,122,255,0.07);
        transition: background 0.2s, box-shadow 0.2s;
        margin-top: 18px;
        letter-spacing: 0.02em;
    }
    
    .apple-auth-submit-button:hover {
        background: linear-gradient(90deg, #007aff 0%, #34aadc 100%);
        box-shadow: 0 4px 16px rgba(0,122,255,0.13);
    }
    
    .apple-auth-submit-button:disabled {
        background: #e0e0e7;
        color: #b0b0b8;
        cursor: not-allowed;
        box-shadow: none;
    }
    
    .apple-success-message {
        background: rgba(246,255,237,0.9);
        border: 1px solid #b7eb8f;
        color: #52c41a;
        padding: 10px 16px;
        border-radius: 12px;
        margin-bottom: 20px;
        font-size: 15px;
        font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    }

    /* 苹果风格的模态框样式 */
    .apple-style {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.18);
        overflow: hidden;
    }

    .apple-header {
        padding: 20px 24px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .apple-header h2 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
        color: #1d1d1f;
    }

    .apple-body {
        padding: 24px;
    }

    .apple-profile-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 32px;
    }

    .apple-avatar-container {
        position: relative;
        margin-bottom: 16px;
    }

    .apple-avatar {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: linear-gradient(135deg, #34aadc 0%, #007aff 100%);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 36px;
        font-weight: 500;
        box-shadow: 0 4px 16px rgba(0, 122, 255, 0.25);
    }

    .apple-profile-info {
        text-align: center;
        margin-bottom: 24px;
        width: 100%;
    }

    .apple-profile-name {
        font-size: 24px;
        font-weight: 600;
        color: #1d1d1f;
        margin: 0 0 8px 0;
    }

    .apple-profile-badge {
        display: inline-block;
        background-color: #f5f5f7;
        color: #1d1d1f;
        padding: 4px 12px;
        border-radius: 12px;
        font-size: 12px;
        font-weight: 500;
        margin-bottom: 24px;
    }

    .apple-profile-details {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 24px;
        width: 100%;
    }

    .apple-detail-item {
        display: flex;
        align-items: center;
        padding: 12px;
        background-color: #f5f5f7;
        border-radius: 12px;
        transition: all 0.2s ease;
    }

    .apple-detail-item:hover {
        background-color: #ebebeb;
    }

    .apple-detail-icon {
        min-width: 32px;
        height: 32px;
        border-radius: 50%;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 16px;
        color: #007aff;
    }

    .apple-detail-content {
        flex: 1;
    }

    .apple-detail-label {
        font-size: 12px;
        color: #86868b;
        margin-bottom: 4px;
    }

    .apple-detail-value {
        font-size: 14px;
        color: #1d1d1f;
        font-weight: 500;
    }

    .apple-logout-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 20px;
        background-color: #fff;
        border: 1px solid #ff3b30;
        color: #ff3b30;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.2s ease;
        margin-top: 16px;
    }

    .apple-logout-btn:hover {
        background-color: rgba(255, 59, 48, 0.1);
    }

    .apple-logout-btn svg {
        margin-right: 8px;
    }

    .apple-section {
        background-color: #f5f5f7;
        border-radius: 16px;
        padding: 20px;
        margin-bottom: 24px;
    }

    .apple-section-title {
        font-size: 16px;
        font-weight: 600;
        color: #1d1d1f;
        margin: 0 0 16px 0;
    }

    .apple-tags-container {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .apple-tag {
        background-color: white;
        color: #007aff;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 500;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .apple-no-data {
        color: #86868b;
        font-size: 14px;
        font-style: italic;
    }

    .apple-admin-actions {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .apple-action-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 16px;
        background-color: white;
        border-radius: 12px;
        color: #007aff;
        text-decoration: none;
        transition: all 0.2s ease;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .apple-action-btn:hover {
        background-color: #f2f2f2;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .apple-action-btn svg {
        margin-bottom: 8px;
        width: 24px;
        height: 24px;
    }

    @media (min-width: 768px) {
        .apple-profile-card {
            flex-direction: row;
            text-align: left;
            align-items: flex-start;
        }
        
        .apple-avatar-container {
            margin-right: 24px;
            margin-bottom: 0;
        }
        
        .apple-profile-info {
            text-align: left;
            flex: 1;
        }
        
        .apple-logout-btn {
            margin-left: auto;
            align-self: flex-start;
        }
    }
     /* 反馈模态框样式优化 */

/* 个人中心增强样式 */
.apple-profile-modal .apple-modal-content {
    padding: 2.2rem 1.6rem 1.6rem 1.6rem;
    background: #f8fafc;
}

.apple-profile-card-enhanced {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
    padding: 2.2rem 1.2rem 2.6rem 1.2rem;
    margin-bottom: 0.5rem;
    min-width: 440px;
    max-width: 640px;
}

.apple-avatar-lg {
    width: 88px;
    height: 88px;
    font-size: 2.6rem;
    margin-bottom: 0.7rem;
}

.apple-avatar-gradient {
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #1e90ff 0%, #70e1f5 100%);
    box-shadow: 0 2px 12px rgba(30,144,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.apple-avatar-gradient .apple-avatar {
    background: #fff;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apple-profile-details-cards {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.apple-profile-details-row .apple-detail-item {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding-left: 1.1rem;
}

.apple-detail-item-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
}

.apple-detail-content-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.apple-detail-label {
    flex: 0 0 92px;
    text-align: right;
    font-size: 1.01rem;
    color: #7a8ca5;
    margin-right: 0.4rem;
    padding-right: 0.2rem;
}

.apple-detail-value {
    flex: 1 1 0%;
    font-size: 1.08rem;
    font-weight: 500;
    color: #222c39;
    text-align: left;
    word-break: break-all;
}

.apple-detail-label {
    min-width: 60px;
    text-align: left;
    font-size: 1.01rem;
    color: #7a8ca5;
    margin-right: 0.4rem;
}

.apple-detail-value {
    font-size: 1.08rem;
    font-weight: 500;
    color: #222c39;
    text-align: left;
}

.apple-profile-details-cards .apple-detail-item {
    background: #f4f7fa;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(30,144,255,0.05);
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    border: 1px solid #e6effa;
}

.apple-profile-details-cards .apple-detail-icon {
    background: #e6f0fa;
    border-radius: 50%;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apple-profile-details-cards .apple-detail-label {
    font-size: 0.99rem;
    color: #7a8ca5;
}

.apple-profile-details-cards .apple-detail-value {
    font-size: 1.08rem;
    font-weight: 500;
    color: #222c39;
}

.apple-logout-btn-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    margin: 2.2rem auto 0 auto;
    padding: 0.85rem 0;
    font-size: 1.12rem;
    border-radius: 8px;
    border: 1.5px solid #ff4d4f;
    color: #ff4d4f;
    background: #fff;
    transition: background 0.18s, color 0.18s;
}
.apple-logout-btn-lg:hover {
    background: #ff4d4f;
    color: #fff;
}

@media (max-width: 540px) {
    .apple-profile-modal .apple-modal-content {
        padding: 1.2rem 0.2rem 1.2rem 0.2rem;
        max-width: 99vw;
    }
    .apple-profile-card-enhanced {
        padding: 1.2rem 0.3rem 1.5rem 0.3rem;
    }
    .apple-avatar-lg {
        width: 62px;
        height: 62px;
        font-size: 1.5rem;
    }
    .apple-avatar-gradient .apple-avatar {
        width: 56px;
        height: 56px;
    }
    .apple-logout-btn-lg {
        font-size: 1rem;
        margin-top: 1.2rem;
    }
}

     .apple-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1002;
        overflow: auto;
        align-items: center;
        justify-content: center;
        opacity: 1;
        transition: opacity 0.4s ease;
    }
    
    .apple-modal-content {
        background-color: white;
        border-radius: 12px;
        width: 100%;
        max-width: 500px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        position: relative;
        margin: 2rem;
        transform: translateY(0);
        transition: transform 0.4s ease;
        animation: apple-modalSlideIn 0.4s ease forwards;
    }
    
    @keyframes apple-modalSlideIn {
        from { transform: translateY(20px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }
    
    .apple-modal-header {
        padding: 1.5rem;
        border-bottom: 1px solid var(--gray-200);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .apple-modal-header h2 {
        margin: 0;
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--gray-900);
    }
    
    .close-apple-modal {
        background: none;
        border: none;
        font-size: 1.5rem;
        line-height: 1;
        color: var(--gray-500);
        cursor: pointer;
        padding: 0;
    }
    
    .apple-modal-body {
        padding: 1.5rem;
    }
    
    .apple-form-group {
        margin-bottom: 1.25rem;
    }
    
    .apple-form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--gray-800);
    }
    
    .apple-form-group input,
    .apple-form-group textarea {
        width: 100%;
        padding: 0.75rem;
        border: 1px solid var(--gray-300);
        border-radius: 8px;
        font-size: 0.95rem;
        transition: border-color 0.2s;
    }
    
    .apple-form-group input:focus,
    .apple-form-group textarea:focus {
        border-color: var(--primary-color);
        outline: none;
    }
    