/* Popup Background */
.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Darker background for focus */
}

/* Popup Content */
.popup-content {
    margin: 10% auto;
    padding: 20px 30px;
    background: white;
    width: 35%;
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add a shadow for depth */
    text-align: center;
}

/* Close Button */
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    font-size: 1.5em;
    font-weight: bold;
    color: #333; /* Neutral color */
    transition: color 0.3s;
}

.close:hover {
    color: #0497F9; /* Highlight color on hover */
}

/* Form Styling */
form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Spacing between fields */
    align-items: center;
}

/* Input Fields */
input[type="text"], input[type="email"] {
    width: 85%; /* Better spacing */
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px; /* Rounded corners */
    transition: border 0.3s;
}

input[type="text"]:focus, input[type="email"]:focus {
    outline: none;
    border-color: #0497F9; /* Highlight border */
    box-shadow: 0 0 5px rgba(4, 151, 249, 0.5); /* Glow effect */
}

/* Submit Button */
button[type="submit"] {
    padding: 12px 30px;
    background-color: #0497F9;
    color: white;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #0379c3; /* Darker blue on hover */
}

/* Spacing for Form */
label {
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: -8px; /* Reduce extra gap */
}

/* Adjustments for Smaller Screens */
@media screen and (max-width: 768px) {
    .popup-content {
        width: 80%; /* Adjust width for mobile */
        padding: 20px;
    }

    input[type="text"], input[type="email"] {
        width: 95%; /* Full-width inputs on mobile */
    }
}
