/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f7f9fc;
    color: #333333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Container */
.error-container {
    text-align: center;
    max-width: 600px;
    width: 100%;
    padding: 40px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Typography */
.error-code {
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    color: #4f46e5; /* Modern Indigo */
    margin-bottom: 20px;
    letter-spacing: -2px;
}

h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1f2937;
}

p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.search-form input {
    width: 100%;
    max-width: 300px;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.search-form input:focus {
    border-color: #4f46e5;
}

.search-form button {
    padding: 12px 24px;
    background-color: #4f46e5;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-form button:hover {
    background-color: #4338ca;
}

/* Action Buttons */
.navigation-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #4f46e5;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #4338ca;
}

.btn-secondary {
    background-color: #f3f4f6;
    color: #4b5563;
}

.btn-secondary:hover {
    background-color: #e5e7eb;
}

/* Mobile Responsive Adjustments */
@media (max-width: 480px) {
    .error-code {
        font-size: 90px;
    }
    h1 {
        font-size: 24px;
    }
    .search-form {
        flex-direction: column;
        align-items: center;
    }
    .search-form input {
        max-width: 100%;
    }
    .search-form button {
        width: 100%;
    }
    .navigation-links {
        flex-direction: column;
        width: 100%;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
}
