@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff; /* White background */
    color: #333333;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container */
.container {
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    padding: 40px;
    background-color: #f9f9f9; /* Light grey background for container */
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Error Icon Styling */
.error-icon {
    font-size: 4rem;
    color: #FF4B2B; /* Vibrant red color indicating an error */
    margin-bottom: 20px;
}

.error-icon i {
    animation: shake 0.5s;
    animation-iteration-count: infinite;
}

/* Shake Animation for Icon */
@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
    100% { transform: rotate(0deg); }
}

/* Title Styling */
.title {
    font-size: 2.5rem;
    color: #FF4B2B; /* Consistent vibrant red color */
    margin-bottom: 20px;
}

/* Description Styling */
.description {
    font-size: 1.1rem;
    color: #777777;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 500;
}

.btn i {
    font-size: 1.2rem;
}

/* Primary Button */
.primary-btn {
    background-color: #4CAF50; /* Green */
    color: #ffffff;
}

.primary-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(69, 160, 73, 0.2);
}

/* Secondary Button */
.secondary-btn {
    background-color: #008CBA; /* Blue */
    color: #ffffff;
}

.secondary-btn:hover {
    background-color: #007bb5;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 181, 0.2);
}

/* Responsive Design */
@media (max-width: 600px) {
    .title {
        font-size: 2rem;
    }

    .description {
        font-size: 1rem;
    }

    .action-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Optional Animations */
.has-animations .cta {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
