/* 기본 리셋 및 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* 앱 컨테이너 */
.app-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* 헤더 */
.header {
    background: #2196F3;
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header h1 {
    font-size: 1.2rem;
    font-weight: 500;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
}

/* 버튼 스타일 */
.btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    transition: all 0.2s;
    text-decoration: none;
}

.btn:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

.btn-primary {
    background: #2196F3;
    color: white;
    border: 1px solid #2196F3;
    padding: 0.75rem 1rem;
}

.btn-primary:hover {
    background: #1976D2;
}

.btn-danger {
    background: #f44336;
    color: white;
    border: 1px solid #f44336;
    padding: 0.75rem 1rem;
}

.btn-danger:hover {
    background: #d32f2f;
}

.btn-cancel {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.btn-save {
    background: #2196F3;
    color: white;
    border: 1px solid #2196F3;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    margin-top: 1rem;
}

/* 콘텐츠 영역 */
.content {
    padding: 1rem;
    padding-bottom: 100px;
}

/* 통계 카드 */
.stats-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    background: #f8f9fa;
    transition: transform 0.2s;
}

.stat-item:hover {
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
    color: #2196F3;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

/* 멤버 목록 */
.member-list {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
}

.member-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    transition: background-color 0.2s;
}

.member-item:last-child {
    border-bottom: none;
}

.member-item:hover {
    background-color: #f8f9fa;
}

.member-item.qualified {
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    border-left: 4px solid #4CAF50;
}

.member-rank {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    margin-right: 1rem;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.member-info {
    flex: 1;
}

.member-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
}

.expedition-badge {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

.member-details {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.member-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 1rem;
}

.action-btn:hover {
    background: #f0f0f0;
    transform: scale(1.1);
}

/* 새로고침 버튼 */
.refresh-btn {
    position: fixed;
    bottom: 120px;
    right: 20px;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
    transition: all 0.3s;
    z-index: 99;
}

.refresh-btn:hover {
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.6);
}

/* 이미지 업로드 섹션 */
.upload-section {
    margin-bottom: 1.5rem;
}

.image-upload-area {
    border: 3px dashed #ddd;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    background: #fafafa;
}

.image-upload-area:hover,
.image-upload-area.dragover {
    border-color: #2196F3;
    background: #f0f8ff;
    transform: translateY(-2px);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2196F3;
}

.upload-text {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

.upload-hint {
    font-size: 0.9rem;
    color: #666;
}

.upload-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* 이미지 미리보기 */
.image-preview {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    min-height: 60px;
}

.preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid #ddd;
    transition: all 0.2s;
    cursor: pointer;
}

.preview-item.selected {
    border-color: #2196F3;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.3);
}

.preview-item:hover {
    transform: scale(1.05);
}

.preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(244, 67, 54, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.2s;
}

.preview-remove:hover {
    background: #f44336;
    transform: scale(1.1);
}

.selected-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    background: #2196F3;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

/* 로딩 */
.loading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    gap: 1rem;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2196F3;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 결과 영역 */
.result-section {
    margin-bottom: 1.5rem;
}

.result-section h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.result-area {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    white-space: pre-wrap;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
    max-height: 200px;
    overflow-y: auto;
    line-height: 1.4;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* 설정 화면 */
.settings-form {
    max-width: 400px;
}

.data-management {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.data-management h3 {
    margin-bottom: 1rem;
    color: #333;
}

.data-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* 모달 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 0;
    margin: 1rem;
    max-width: 450px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #666;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.close-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding: 1rem 1.5rem;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

/* 폼 요소 */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.form-hint {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.2s;
}

.form-textarea:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

.form-select:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    cursor: pointer;
    font-size: 1rem;
    color: #333;
}

.input-with-button {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.input-with-button .form-textarea {
    flex: 1;
}

.paste-btn {
    height: 48px;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    color: #666;
}

.paste-btn:hover {
    background: #e9ecef;
    color: #333;
}

/* 하단 네비게이션 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    background: white;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-around;
    padding: 0.75rem 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: #666;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 8px;
    min-width: 70px;
    transition: all 0.2s;
}

.nav-item:hover {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
}

.nav-item.active {
    color: #2196F3;
    background: rgba(33, 150, 243, 0.1);
}

.nav-icon {
    font-size: 1.4rem;
}

.nav-label {
    font-size: 0.7rem;
    font-weight: 500;
}

/* 스낵바 */
.snackbar {
    position: fixed;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    max-width: 90%;
    text-align: center;
}

.snackbar.show {
    opacity: 1;
}

.snackbar.error {
    background: #f44336;
}

.snackbar.success {
    background: #4CAF50;
}

/* 반응형 디자인 */
@media (max-width: 480px) {
    .app-container {
        max-width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .stat-item {
        padding: 0.75rem 0.5rem;
    }

    .stat-icon {
        font-size: 1.4rem;
    }

    .stat-value {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .header {
        padding: 0.75rem 1rem;
    }

    .header h1 {
        font-size: 1.1rem;
    }

    .header-actions {
        gap: 0.25rem;
    }

    .btn {
        padding: 0.4rem;
        font-size: 0.7rem;
    }

    .content {
        padding: 0.75rem;
        padding-bottom: 100px;
    }

    .member-item {
        padding: 0.75rem;
    }

    .member-rank {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .member-name {
        font-size: 0.9rem;
    }

    .member-details {
        font-size: 0.8rem;
    }

    .action-buttons {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .upload-buttons {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 0.5rem;
        max-height: 90vh;
    }

    .modal-header,
    .modal-body,
    .modal-actions {
        padding: 1rem;
    }

    .refresh-btn {
        bottom: 100px;
        right: 15px;
        width: 48px;
        height: 48px;
    }

    .bottom-nav {
        padding: 0.5rem 0;
    }

    .nav-item {
        min-width: 60px;
        padding: 0.4rem;
    }

    .nav-icon {
        font-size: 1.2rem;
    }

    .nav-label {
        font-size: 0.65rem;
    }
}

@media (max-width: 360px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-actions .btn {
        padding: 0.3rem;
        font-size: 0.6rem;
    }

    .preview-item {
        width: 60px;
        height: 60px;
    }
}

/* 다크모드 지원 */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: #e0e0e0;
    }

    .app-container {
        background: #1e1e1e;
    }

    .stats-card,
    .member-list,
    .modal-content {
        background: #2d2d2d;
        border-color: #404040;
    }

    .stat-item {
        background: #363636;
    }

    .member-item:hover {
        background-color: #363636;
    }

    .member-item.qualified {
        background: linear-gradient(135deg, #173025, #264631);
    }

    .member-item .member-name {
        color: #a19494;
    }

    .form-input,
    .form-textarea,
    .form-select {
        background: #363636;
        border-color: #555;
        color: #e0e0e0;
    }

    .form-group label {
        color: #e0e0e0;
    }

    .result-area {
        background: #363636;
        border-color: #555;
        color: #e0e0e0;
    }

    .image-upload-area {
        background: #363636;
        border-color: #555;
    }

    .image-upload-area:hover,
    .image-upload-area.dragover {
        background: #404040;
    }

    .modal-header,
    .modal-actions {
        background: #363636;
        border-color: #555;
    }

    .bottom-nav {
        background: #2d2d2d;
        border-color: #404040;
    }
}

/* 프린트 스타일 */
@media print {
    .header-actions,
    .bottom-nav,
    .refresh-btn,
    .action-btn {
        display: none !important;
    }

    .app-container {
        box-shadow: none;
        max-width: 100%;
    }

    .content {
        padding-bottom: 1rem;
    }

    .member-item {
        break-inside: avoid;
    }
}

/* styles.css에 추가해야 할 스타일들 */

/* 연결 상태 표시 */
.connection-status {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0 0 8px 8px;
    z-index: 1002;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    max-width: 90%;
    text-align: center;
}

.connection-status.connected {
    background: #4CAF50;
}

.connection-status.disconnected {
    background: #f44336;
}

/* API 경고 메시지 */
.api-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffeaa7;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

.warning-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.warning-content > span {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.warning-content > div {
    flex: 1;
}

.warning-content strong {
    color: #856404;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.warning-content p {
    color: #856404;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* 설정 화면 개선 */
.settings-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.settings-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.settings-section h3 {
    margin: 0 0 1.5rem 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 2px solid #2196F3;
    padding-bottom: 0.75rem;
    position: relative;
}

.settings-section h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #2196F3;
    border-radius: 2px;
}

/* 앱 정보 섹션 */
.app-info {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 4px solid #2196F3;
    position: relative;
    overflow: hidden;
}

.app-info::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.1), transparent);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.app-info p {
    margin: 0.75rem 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.app-info strong {
    color: #2196F3;
    font-weight: 600;
}

/* 데이터 관리 버튼 개선 */
.data-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.data-buttons .btn {
    justify-content: center;
    padding: 1rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.data-buttons .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.data-buttons .btn:hover::before {
    width: 300px;
    height: 300px;
}

.data-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* 백엔드 URL 입력 필드 개선 */
#backend-url {
    font-family: 'Consolas', 'Monaco', monospace;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    transition: all 0.3s;
}

#backend-url:focus {
    background: white;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
    outline: none;
}

/* 반응형 개선 */
@media (max-width: 480px) {
    .connection-status {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }

    .api-warning {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .warning-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .settings-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .settings-section h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .app-info {
        padding: 1rem;
    }
}

/* 다크모드 지원 확장 */
@media (prefers-color-scheme: dark) {
    .api-warning {
        background: linear-gradient(135deg, #3d3d00, #4d4d00);
        border-color: #666600;
        color: #ffff99;
    }

    .warning-content strong,
    .warning-content p {
        color: #ffff99;
    }

    .settings-section {
        background: #2d2d2d;
        border-color: #404040;
    }

    .settings-section h3 {
        color: #e0e0e0;
        border-color: #2196F3;
    }

    .app-info {
        background: linear-gradient(135deg, #363636, #404040);
        color: #e0e0e0;
    }

    #backend-url {
        background: #363636;
        border-color: #555;
        color: #e0e0e0;
    }

    #backend-url:focus {
        background: #404040;
        border-color: #2196F3;
    }
}