/* ============================================
   SDScreener - Common Styles
   Global CSS for all pages
   ============================================ */

/* ============================================
   WOWATE BRAND COLORS - Corporate Palette
   ============================================ */
:root {
    /* Primary Colors */
    --wowate-cyan: #0FB6CC;           /* RGB: 15/182/204 - Main brand color */
    --wowate-grey: #505A64;           /* RGB: 80/90/100 - Secondary brand color */
    
    /* Secondary Colors */
    --wowate-green: #AEFF00;          /* RGB: 174/255/0 - Success/positive */
    --wowate-orange: #FFC028;         /* RGB: 255/200/40 - Warning/attention */
    --wowate-yellow: #FFFF37;         /* RGB: 255/255/55 - Highlight */
    --wowate-pink: #FF004A;           /* RGB: 255/0/74 - Error/critical */
    
    /* Variations for UI states */
    --cyan-light: rgba(15, 182, 204, 0.1);
    --cyan-medium: rgba(15, 182, 204, 0.7);
    --cyan-dark: #0A92A3;
    
    --grey-light: rgba(80, 90, 100, 0.1);
    --grey-medium: rgba(80, 90, 100, 0.5);
    --grey-dark: #3A4149;
    
    --green-light: rgba(174, 255, 0, 0.1);
    --green-medium: rgba(174, 255, 0, 0.8);
    --green-dark: #8ACC00;
    
    --orange-light: rgba(255, 200, 40, 0.1);
    --orange-medium: rgba(255, 200, 40, 0.8);
    --orange-dark: #D99A00;
    
    --pink-light: rgba(255, 0, 74, 0.1);
    --pink-medium: rgba(255, 0, 74, 0.8);
    --pink-dark: #CC003B;
}

/* Page Header - Universal header styling */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(15, 182, 204, 0.05) 0%, rgba(46, 134, 171, 0.08) 100%);
    border: 1px solid rgba(15, 182, 204, 0.1);
    border-radius: 12px;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--wowate-cyan) 0%, var(--cyan-dark) 100%);
    border-radius: 12px 12px 0 0;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--wowate-grey);
    font-weight: 600;
}

.page-header h1 i {
    margin-right: 0.5rem;
}

.page-header .subtitle,
.page-header .lead {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* Continent Sections - Shared across pages */
.continent-section {
    margin-bottom: 3rem;
}

.continent-header {
    background: linear-gradient(135deg, var(--wowate-cyan) 0%, var(--cyan-dark) 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 20px 20px 0 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.continent-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: skewX(-15deg);
    margin-right: -50px;
}

.continent-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.continent-header .continent-icon {
    margin-right: 1rem;
    font-size: 2rem;
    opacity: 0.9;
}

.continent-stats {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Market Cards Grid - Shared layout */
.markets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 8px 32px rgba(15, 182, 204, 0.1);
    border: 1px solid rgba(15, 182, 204, 0.1);
    border-top: none;
}

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

@media (max-width: 768px) {
    .markets-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .btn-lg {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .ms-2 {
        margin-left: 0 !important;
    }
}

/* Individual Market Card - Universal styling */
.market-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(15, 182, 204, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.market-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--wowate-cyan);
}

.market-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(15, 182, 204, 0.2);
    border-color: var(--wowate-primary);
}

.market-header {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1rem;
    margin-bottom: 1.2rem;
    align-items: start;
}

.market-flag {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid white;
    position: relative;
    grid-row: 1;
    grid-column: 1;
}

.market-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.market-flag-fallback {
    background: linear-gradient(135deg, var(--wowate-primary) 0%, var(--wowate-secondary) 100%);
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.market-info-header {
    grid-row: 1;
    grid-column: 2;
    min-width: 0;
}

.market-title {
    margin-bottom: 0.3rem;
}

.market-title h3 {
    color: var(--wowate-secondary);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    display: inline;
}

.market-title .market-code {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 0.5rem;
    display: inline;
}

.market-title .last-update {
    color: #6c757d;
    font-size: 0.8rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.update-status {
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.update-status.updated {
    background: #d4edda;
    color: #155724;
}

.update-status.outdated {
    background: #f8d7da;
    color: #721c24;
}

.update-status.unknown {
    background: #e2e3e5;
    color: #383d41;
}

.market-info {
    margin: 0.5rem 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-row {
    display: block;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.25rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 6px;
}

.info-label {
    color: #495057;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: var(--wowate-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
    overflow-wrap: break-word;
    width: 100%;
}

.info-value code {
    background: rgba(15, 182, 204, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--wowate-primary);
    border: 1px solid rgba(15, 182, 204, 0.2);
}

.market-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.market-actions .btn-market:not(.btn-sm) {
    width: 100%;
}

.market-actions-secondary {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.market-actions-secondary .btn-sm {
    flex: 1;
    min-width: 0;
    padding: 0.4rem 0.6rem !important;
    font-size: 0.8rem !important;
}

/* Buttons - Universal button styles */
.btn-market {
    width: 100%;
    border-radius: 10px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
}

/* Button States - Using Wowate Corporate Colors */

/* Start/Update - Cyan (Primary action) */
.btn-start {
    background: var(--wowate-cyan) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(15, 182, 204, 0.3);
    border: none !important;
}

.btn-start:hover {
    background: var(--cyan-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 182, 204, 0.5);
    color: white !important;
}

/* Retry - Orange (Attention/warning) */
.btn-retry {
    background: var(--wowate-orange) !important;
    color: var(--wowate-grey) !important;
    box-shadow: 0 4px 15px rgba(255, 200, 40, 0.3);
    border: none !important;
    font-weight: 600;
}

.btn-retry:hover {
    background: var(--orange-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 200, 40, 0.5);
    color: white !important;
}

/* Downloading - Cyan with animation */
.btn-downloading {
    background: var(--wowate-cyan) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(15, 182, 204, 0.3);
    border: none !important;
    opacity: 0.9;
    animation: pulse 2s ease-in-out infinite;
}

.btn-downloading:hover {
    color: white !important;
    opacity: 1;
}

@keyframes pulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

/* Completed/Up to Date - Grey (Passive/Neutral state) */
.btn-completed {
    background: var(--wowate-grey) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(80, 90, 100, 0.3) !important;
    cursor: not-allowed;
    font-weight: 600;
    border: none !important;
    opacity: 0.85;
}

.btn-completed:hover {
    background: var(--wowate-grey) !important;
    transform: none;
    color: white !important;
    opacity: 0.85;
}

/* Bootstrap button overrides */
.btn {
    border-radius: 10px;
}

.btn-primary {
    background: var(--wowate-cyan);
    border: none;
    transition: all 0.3s ease;
    color: white;
    border-radius: 10px;
}

.btn-primary:hover {
    background: var(--cyan-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 182, 204, 0.4);
    color: white;
}

.btn-secondary {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.btn-secondary:hover {
    transform: translateY(-1px);
}

.btn-warning {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.btn-warning:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.btn-info {
    background: #17a2b8 !important;
    color: white !important;
    border: none !important;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.btn-info:hover {
    background: #138496 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.4);
}

.btn-info:active {
    transform: translateY(0);
}

.btn-info:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Update Metadata Button - Secondary style with animations */
.update-metadata-btn {
    background: #6c757d !important;
    color: white !important;
    border: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.update-metadata-btn:hover {
    background: #5a6268 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.5);
}

.update-metadata-btn:active {
    transform: translateY(0);
}

.update-metadata-btn.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

.update-metadata-btn.success {
    background: #28a745 !important;
}

.update-metadata-btn.error {
    background: #dc3545 !important;
}

/* Failed Tickers Button - Warning style with animations */
.failed-tickers-btn {
    background: var(--wowate-orange) !important;
    color: var(--wowate-grey) !important;
    border: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.failed-tickers-btn:hover {
    background: var(--orange-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 200, 40, 0.5);
    color: white !important;
}

.failed-tickers-btn:active {
    transform: translateY(0);
}

/* Refresh Cache Buttons */
.refresh-cache-btn {
    background: #6c757d !important;
    color: white !important;
    border: none !important;
    font-size: 0.8rem !important;
    padding: 0.4rem 1rem !important;
    opacity: 0.8;
}

.refresh-cache-btn:hover {
    background: #5a6268 !important;
    opacity: 1;
    transform: translateY(-1px);
}

.refresh-cache-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#refresh-all-cache-btn {
    background: #6c757d !important;
    border: none !important;
    color: white !important;
}

#refresh-all-cache-btn:hover {
    background: #5a6268 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
}

#update-all-metadata-btn {
    background: #6c757d !important;
    border: none !important;
    color: white !important;
    transition: all 0.3s ease;
}

#update-all-metadata-btn:hover {
    background: #5a6268 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
}

#update-all-metadata-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Delete buttons */
.delete-market-btn {
    background: #dc3545 !important;
    border: none !important;
    color: white !important;
    opacity: 0.8;
    padding: 0.4rem 0.8rem !important;
    font-size: 0.85rem !important;
    margin-left: 0.5rem;
}

.delete-market-btn:hover {
    opacity: 1 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
}

#delete-all-data-btn {
    background: #dc3545 !important;
    border: none !important;
    color: white !important;
}

#delete-all-data-btn:hover {
    background: #c82333 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

/* Delete Confirmation Modal */
/* ===== UNIFIED MODAL STYLES FOR ENTIRE APPLICATION ===== */
.modal-content {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    animation: modalSlideIn 0.3s ease-out;
    border: none;
}

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

.modal-header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2,
.modal-header h5,
.modal-header .modal-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.modal-header h2 i,
.modal-header h5 i,
.modal-header .modal-title i {
    margin-right: 0.5rem;
}

/* Unified close button for all modals */
.modal .btn-close,
.modal-header .btn-close {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat !important;
    border: none;
    border-radius: 0.25rem;
    width: 1em;
    height: 1em;
    padding: 0.25em;
    opacity: 1;
    transition: all 0.2s ease;
    cursor: pointer;
    filter: none;
}

.modal .btn-close:hover,
.modal-header .btn-close:hover {
    opacity: 0.75;
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
}

.warning-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.warning-box p {
    margin: 0.5rem 0;
}

.warning-box ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.warning-box li {
    margin: 0.5rem 0;
    color: #856404;
}

.info-box {
    background: #d1ecf1;
    border: 2px solid #17a2b8;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-box p {
    margin: 0.5rem 0;
    color: #0c5460;
}

.info-box ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.info-box li {
    margin: 0.5rem 0;
    color: #0c5460;
}

.modal-body input {
    padding: 0.75rem;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    width: 100%;
    margin-top: 0.5rem;
}

.modal-body input:focus {
    border-color: #dc3545;
    outline: none;
}

.modal-footer {
    padding: 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    border-top: 1px solid #eee;
}

.text-danger {
    color: #dc3545;
    font-weight: bold;
}

.text-info {
    color: #17a2b8;
    font-weight: bold;
}

/* Progress Sections - Overall progress styling */
.overall-progress {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(15, 182, 204, 0.15);
    border: 1px solid rgba(15, 182, 204, 0.1);
    position: relative;
    overflow: hidden;
}

.overall-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--wowate-cyan);
}

.progress-header {
    text-align: center;
    margin-bottom: 2rem;
}

.progress-header h2 {
    color: var(--wowate-secondary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.progress-header .subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    font-weight: 400;
}

.progress-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--gradient-light);
    border-radius: 15px;
    border: 1px solid rgba(15, 182, 204, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--wowate-cyan);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.overall-progress-bar {
    margin: 2rem 0;
}

.overall-progress-bar .progress {
    height: 35px;
    border-radius: 10px;
    background: #f8f9fa;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.overall-progress-bar .progress-bar {
    background: var(--wowate-cyan);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.overall-progress-bar .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 35%, 
        rgba(255, 255, 255, 0.2) 35%, 
        rgba(255, 255, 255, 0.2) 65%, 
        transparent 65%);
    animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    text-align: center;
    margin-top: 1rem;
}

.progress-percentage {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wowate-secondary);
}

.progress-details {
    color: #6c757d;
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Control Buttons */
.control-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.control-buttons .btn {
    min-width: 150px;
    margin: 0;
}

.control-buttons .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .markets-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .market-card {
        padding: 1rem;
        min-height: 260px;
    }
    
    .market-header {
        grid-template-columns: 50px 1fr;
        gap: 0.75rem;
    }
    
    .market-flag {
        width: 50px;
        height: 50px;
    }
    
    .market-title h3 {
        font-size: 1.2rem;
    }
    
    .market-title .last-update {
        font-size: 0.75rem;
    }
    
    .market-info {
        gap: 0.6rem;
    }
    
    .info-row {
        padding: 0.4rem;
    }
    
    .info-label {
        font-size: 0.7rem;
    }
    
    .info-value {
        font-size: 0.85rem;
    }
    
    .market-actions-secondary .btn-sm {
        padding: 0.35rem 0.5rem !important;
        font-size: 0.75rem !important;
    }
    
    .progress-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .control-buttons .btn {
        margin: 0.25rem;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .progress-stats {
        grid-template-columns: 1fr;
    }
    
    .market-header {
        grid-template-columns: 45px 1fr;
        gap: 0.5rem;
    }
    
    .market-flag {
        width: 45px;
        height: 45px;
    }
    
    .market-title h3 {
        font-size: 1.1rem;
    }
    
    .market-title .last-update {
        font-size: 0.7rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .update-status {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
    }
    
    .market-info {
        gap: 0.5rem;
    }
    
    .info-row {
        padding: 0.35rem;
    }
    
    .info-label {
        font-size: 0.65rem;
    }
    
    .info-value {
        font-size: 0.8rem;
    }
    
    .market-actions-secondary {
        flex-wrap: wrap;
    }
    
    .market-actions-secondary .btn-sm {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 60px;
    }
    
    .page-header {
        padding: 2rem 1rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
}

/* Form Styles - Universal form controls */
.form-control:focus {
    border-color: var(--wowate-cyan);
    box-shadow: 0 0 0 0.2rem var(--cyan-light);
}

.form-text {
    color: #6c757d;
}

/* Card Styles - Universal card styling */
.card {
    border-radius: 15px;
    border: 1px solid rgba(15, 182, 204, 0.1);
    box-shadow: 0 4px 20px rgba(15, 182, 204, 0.1);
    margin-bottom: 2rem;
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(15, 182, 204, 0.15);
}

.card-body {
    padding: 2rem;
}

/* Card header styling */
.card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid rgba(15, 182, 204, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 15px 15px 0 0 !important;
}

.card h2 {
    color: var(--wowate-grey);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card h2 i {
    margin-right: 0.5rem;
    color: var(--wowate-cyan);
}

.card h3 {
    color: var(--wowate-grey);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card h3 i {
    margin-right: 0.5rem;
    color: var(--wowate-cyan);
}

/* Code Elements */
code {
    background-color: #f8f9fa;
    color: var(--wowate-cyan);
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-weight: 600;
}

/* ============================================================================
   TEXT UTILITIES
   ============================================================================ */

.text-xs {
    font-size: 11px;
}

.link-action {
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.link-action:hover {
    opacity: 0.8;
}
