/* Basic reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f3f4f9, #e2e8f0);
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main Container */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

/* Card Styling */
.custom-card {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    border: 1px solid #e4e8f0;
}

/* Card Hover Effect */
.custom-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Card Header */
.custom-card-header {
    text-align: center;
    background-color: #000000;
    color: white;
    font-size: 1.4rem;
    padding: 15px;
    border-radius: 0px;
    margin-bottom: 1.5rem;
}

/* Card Footer */
.custom-card-footer {
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
    padding: 1rem;
    border-top: 1px solid #e4e8f0;
}

/* Input and Select Styling */
.custom-input,
.custom-select {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid #ced4da;
    font-size: 1rem;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.custom-input:focus,
.custom-select:focus {
    border-color: #007aff;
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(0, 122, 255, 0.3);
}

/* Button Styling */
.custom-btn {
    width: 100%;
    padding: 14px;
    background-color: #007aff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.2);
}

.custom-btn:hover {
    background-color: #0051bb;
    transform: translateY(-3px);
}

.custom-btn:active {
    background-color: #003a8c;
    transform: translateY(0);
}

/* Form Label */
.form-label {
    font-size: 1rem;
    color: #333;
    margin-bottom: 8px;
}

/* Footer Styling */
footer {
    background-color: #f8f9fa;
    padding: 1.5rem;
    text-align: center;
    color: #6c757d;
    box-shadow: 0 -12px 24px rgba(0, 0, 0, 0.05);
}

footer p {
    font-size: 0.9rem;
}

/* Invalid Feedback Styling */
.invalid-feedback {
    font-size: 0.9rem;
    color: #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-card {
        padding: 1.5rem;
    }

    .header-nav {
        flex-direction: column;
        gap: 10px;
    }
}
