@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to right, #001f3f, #005f73);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-box {
    background-color: #fff5f5;
    border: 2px solid #ff4d4f;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.4);
    font-family: 'Poppins', sans-serif;
    color: #b30000;
    line-height: 1.6;
    font-size: 16px;
    position: relative;
}

.alert-icon {
    font-size: 40px;
    color: #ff1a1a;
    margin-bottom: 10px;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.popup-buttons {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}


.popup-buttons button {
    padding: 10px 35px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #ff1a1a;
    border-radius: 30px;
    background-color: white;
    color: #ff1a1a;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-buttons button:hover {
    background-color: #ff1a1a;
    color: white;
}

.popup-box.urgent {
    border: 3px solid #ff1a1a;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.7);
    animation: shake 0.3s ease-in-out infinite alternate;
}

/* @keyframes shake {
    from { transform: translateX(-3px); }
    to { transform: translateX(3px); }
} */


.form-container {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo img {
    max-width: 145px;
}

h2 {
    text-align: center;
    font-weight: 600;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
    width: 100%;
}

.form-row .form-group {
    flex: 1;
    min-width: 0;
}

label {
    font-weight: 400;
}

input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

input::placeholder {
    color: #ddd;
}

button {
    width: 100%;
    padding: 10px;
    background: #ffcc00;
    color: #001f3f;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #e6b800;
}

.error-message, .success-message {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

@media (max-width: 576px) {
    .form-container {
        padding: 20px;
    }
    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .popup-box {
        font-size: 14px;
        padding: 20px 15px;
    }

    .popup-buttons button {
        width: 100%;
    }
}
