/* Not Found page styles - Shared RCL */

.notfound-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem 2rem;
    background-color: var(--bg-color, #ffffff);
}

.notfound-container {
    max-width: 600px;
    width: 100%;
}

.notfound-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    padding: 4rem 3rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.notfound-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color, #00b4ff) 0%, var(--secondary-color, #0174B1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    box-shadow: 0 8px 24px rgba(0, 180, 255, 0.3);
}

.notfound-title {
    margin: 0 0 1rem 0;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 900;
    letter-spacing: -1px;
    color: #0f172a;
    line-height: 1.1;
}

.notfound-message {
    margin: 0 0 2.5rem 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #64748b;
}

.notfound-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.notfound-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    box-sizing: border-box;
}

.notfound-btn-primary {
    background: linear-gradient(135deg, var(--primary-color, #00b4ff) 0%, var(--secondary-color, #0174B1) 100%);
    color: white;
}

.notfound-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 180, 255, 0.3);
    text-decoration: none;
    color: white;
}

.notfound-btn-secondary {
    background: white;
    color: var(--primary-color, #00b4ff);
    border: 2px solid var(--primary-color, #00b4ff);
}

.notfound-btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(0, 180, 255, 0.05);
    box-shadow: 0 8px 20px rgba(0, 180, 255, 0.15);
}

.notfound-btn i {
    font-size: 1.1rem;
}

/* ==============================================
   TABLET BREAKPOINT
   ============================================== */
@media (max-width: 900px) {
    .notfound-page {
        padding: 7rem 1.5rem 3rem 1.5rem;
    }

    .notfound-content {
        padding: 3rem 2rem;
    }

    .notfound-icon {
        width: 100px;
        height: 100px;
        font-size: 3.5rem;
    }
}

/* ==============================================
   MOBILE BREAKPOINT
   ============================================== */
@media (max-width: 600px) {
    .notfound-page {
        padding: 6rem 1.25rem 2rem 1.25rem;
        min-height: calc(100vh - 8rem);
    }

    .notfound-content {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
        overflow: hidden;
    }

    .notfound-icon {
        width: 90px;
        height: 90px;
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .notfound-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
        margin-bottom: 0.75rem;
    }

    .notfound-message {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .notfound-actions {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0;
    }

    .notfound-btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        padding: 1.1rem 1.5rem;
        font-size: 1rem;
    }
}

/* ==============================================
   SMALL MOBILE BREAKPOINT
   ============================================== */
@media (max-width: 400px) {
    .notfound-page {
        padding: 5.5rem 1rem 1.5rem 1rem;
    }

    .notfound-content {
        padding: 2rem 1.25rem;
        overflow: hidden;
    }

    .notfound-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .notfound-message {
        font-size: 0.95rem;
    }

    .notfound-btn {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* ==============================================
   DARK MODE
   ============================================== */

body.dark-mode .notfound-page {
    background-color: var(--bg-color, #121212);
}

body.dark-mode .notfound-content {
    background: rgba(30, 41, 59, 0.72);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

body.dark-mode .notfound-icon {
    background: linear-gradient(135deg, #4fc3f7 0%, #2196f3 100%);
    box-shadow: 0 8px 24px rgba(79, 195, 247, 0.3);
}

body.dark-mode .notfound-title {
    color: #e2e8f0;
}

body.dark-mode .notfound-message {
    color: #94a3b8;
}

body.dark-mode .notfound-btn-primary {
    background: linear-gradient(135deg, #4fc3f7 0%, #2196f3 100%);
    box-shadow: 0 4px 12px rgba(79, 195, 247, 0.3);
}

body.dark-mode .notfound-btn-primary:hover {
    box-shadow: 0 8px 20px rgba(79, 195, 247, 0.4);
}

body.dark-mode .notfound-btn-secondary {
    background: rgba(15, 23, 42, 0.55);
    color: #4fc3f7;
    border-color: #4fc3f7;
}

body.dark-mode .notfound-btn-secondary:hover {
    background: rgba(79, 195, 247, 0.1);
    box-shadow: 0 8px 20px rgba(79, 195, 247, 0.25);
}
