﻿.error-card {
    background: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    backdrop-filter: none;
    border: none;
    position: relative;
    overflow: visible;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.medical-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(45deg, #e7319a, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(231, 49, 146, 0.3);
    animation: float 3s ease-in-out infinite;
    position: relative;
}

    .medical-icon::after {
        content: '⚕';
        font-size: 3rem;
        color: white;
        animation: rotate 2s ease-in-out infinite alternate;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(5deg);
    }
}

.error-code {
    font-size: 4rem;
    font-weight: 800;
    color: #e7319a;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1;
    text-align: center;
}

.error-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
    text-align: center;
}

.error-message {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.medical-symptoms {
    background: rgba(231, 49, 146, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem auto;
    border-left: 4px solid #e7319a;
    max-width: 500px;
}

.symptoms-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.symptoms-list {
    color: #666;
    font-size: 0.8rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    margin-bottom: 20px;
}

.btn {
    padding: 10px 25px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    font-family: "Figtree-SemiBold", sans-serif;
}

    .btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        transition: all 0.3s ease;
        transform: translate(-50%, -50%);
    }

    .btn:hover::before {
        width: 300px;
        height: 300px;
    }

.btn-primary {
    background: linear-gradient(45deg, #e7319a, #ff6b6b);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 49, 146, 0.3);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(231, 49, 146, 0.4);
    }

.btn-secondary {
    background: white;
    color: #666;
    border: 2px solid #e0e0e0;
}

    .btn-secondary:hover {
        transform: translateY(-2px);
        border-color: #e7319a;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

.floating-pills {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.pill {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(231, 49, 146, 0.2);
    border-radius: 50%;
}

    .pill:nth-child(1) {
        left: 10%;
        top: 20%;
    }

    .pill:nth-child(2) {
        left: 20%;
        top: 60%;
    }

    .pill:nth-child(3) {
        left: 70%;
        top: 30%;
    }

    .pill:nth-child(4) {
        left: 80%;
        top: 70%;
    }

/* Text alignment utilities */
.text-center {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .error-code {
        font-size: 3.5rem;
    }

    .error-title {
        font-size: 1.4rem;
    }

    .error-message {
        font-size: 0.95rem;
    }

    .medical-icon {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 768px) {
    .error-code {
        font-size: 3rem;
        margin-bottom: 0.8rem;
    }

    .error-title {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .error-message {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .medical-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }

    .medical-symptoms {
        padding: 1.2rem;
        margin: 1.5rem auto;
    }

    .symptoms-title {
        font-size: 0.9rem;
    }

    .symptoms-list {
        font-size: 0.85rem;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
        font-size: 0.9rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .error-code {
        font-size: 2.5rem;
    }

    .error-title {
        font-size: 1.2rem;
    }

    .error-message {
        font-size: 0.85rem;
    }

    .medical-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }

    .medical-symptoms {
        padding: 1rem;
        margin: 1rem auto;
    }

    .symptoms-title {
        font-size: 0.85rem;
    }

    .symptoms-list {
        font-size: 0.8rem;
    }

    .btn {
        max-width: 100%;
        padding: 12px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .error-code {
        font-size: 2rem;
    }

    .error-title {
        font-size: 1.1rem;
    }

    .error-message {
        font-size: 0.8rem;
    }

    .medical-icon {
        width: 60px;
        height: 60px;
    }
}

@media (min-width: 1200px) {
    .error-code {
        font-size: 3rem;
    }

    .error-title {
        font-size: 1.4rem;
    }

    .error-message {
        font-size: 1.1rem;
    }

    .medical-icon {
        width: 120px;
        height: 120px;
    }
}
