body {
    font-family: Lato, Garamond, sans-serif;
    display: flex;
    justify-content: center; /* Horizontal center */
    align-items: center;     /* Vertical center */
    min-height: 100vh;      /* Full viewport height */
    margin: 0;              /* Remove default margin */
    padding: 0;             /* Remove default padding */
    background-color: #ffffff;
}

.error-container {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 0 30px -15px rgba(0, 0, 0, 0.2);
    padding: 40px;
    max-width: 420px;
    width: 90%;             /* Responsive width */
    margin: 20px;           /* Safety margin */
    text-align: center; /* Centers all inline content */
}

@media only screen and (max-width: 768px) {
    .error-container {
        box-shadow: none;
    }
}

h1 {
    color: #dc3545;
    margin-bottom: 1.5rem;
}

.error-icon {
  font-size: 3rem; /* Adjust size as needed */
  color: #ffcc00; /* Yellow warning color - change as desired */
  margin-bottom: 20px; /* Spacing below the icon */
}

.error-message {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.action-buttons {
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    border: 1px solid #007bff;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border: 1px solid #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}