/* General Styling */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Container */
.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

/* Header Styling */
header {
    display: flex;
    flex-direction: column; /* Stack logo and links vertically */
    align-items: center;
    background-color: #ffffff; /* White background */
    padding: 15px 20px;
}

/* Logo Styling */
.logo img {
    height: 50px; /* Adjust logo height */
    margin-bottom: 10px; /* Space between logo and navigation */
}

/* Navigation Styling */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px; /* Space between links */
    margin: 0;
    padding: 0;
}

/* Nav Links Styling */
.nav-links li {
    display: inline-block;
}

.nav-links a {
    text-decoration: none; /* Remove underline */
    font-size: 18px;
    font-weight: 600; /* Semi-bold */
    font-family: 'Poppins', Arial, sans-serif; /* Better font */
    color: #000000; /* Black text */
    padding: 8px 15px;
    transition: color 0.3s ease-in-out;
}

/* Hover Effect */
.nav-links a:hover {
    color: #ff0000; /* Red on hover */
}

/* Welcome Message */
.welcome-message {
    font-size: 22px; /* Larger text for better readability */
    font-weight: 600; /* Slightly bold for emphasis */
    font-family: 'Poppins', sans-serif; /* Modern and clean font */
    text-align: center; /* Centers the text */
    color: #222; /* Darker gray for better contrast */
    margin-bottom: 15px; /* Adds space below */
}

/* Button Group */
/* Increase space above buttons */
.button-group {
    display: flex;
    gap: 15px;
    margin-top: 40px; /* Increased from 25px */
    justify-content: space-between;
    width: 100%;
}

.button {
    display: flex;
    gap: 10px;
    margin-top: 45px; /* Increased from 30px */
    justify-content: flex-end;
}

.button-group button,
.button button {
    padding: 12px 25px;
    border: none;
    background: linear-gradient(135deg, #000000, #333333);
    color: #ffffff;
    cursor: pointer;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}

.button-group button:hover,
.button button:hover {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

/* Form Styling */
.form-step {
    display: none;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: left;
}

/* Always Visibel Form Styling */
.visible-form-step {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: left;
}

/* Ensure uniform width and alignment */
input, select {
    width: 100%;
    max-width: 320px;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box; /* Prevents extra padding affecting width */
}

/* Label Styling */
label {
    display: block;
    font-weight: bold;
    margin-top: 15px;
    font-size: 16px;
    text-align: left;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}


input, select {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border 0.3s ease-in-out;
}

input:focus, select:focus {
    border: 1px solid #ff0000;
    outline: none;
}

/* Password Input with Eye Icon */
.password-container {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.password-container input {
    width: 100%;
    padding: 12px;
    padding-right: 40px; /* Space for the eye icon */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.password-container span {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
}

.country-code {
    width: 60%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: white;
    text-align: left;
}

.error-message {
    color: red !important;
    font-size: 0.9em;
    margin-top: 5px;
    display: block; /* Ensures it appears below */
    text-align: left; /* Aligns text to the input */
    width: 100%; /* Matches input width */
    padding-left: 10px; /* Shifts text to the right */
}

.message {
    font-size: 0.9em;
    margin-top: 5px;
    display: block; /* Ensures it appears below */
    text-align: center; /* Aligns text to the input */
    width: 100%; /* Matches input width */
}



/* Forgot Password Link */
.forgot-password {
    display: block;
    text-align: left;
    font-size: 14px;
    color: #ff0000; /* Red */
    text-decoration: none;
    margin-top: 5px;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #000000;
    color: #ffffff;
    padding: 15px;
    text-align: center;
    font-size: 14px;
    margin-top: auto;
}

footer a {
    color: #ff0000;
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .button-group {
        flex-direction: column;
        width: 100%;
    }

    .button-group button {
        width: 100%;
        font-size: 16px;
    }

    .welcome-message {
        font-size: 22px;
    }

    .form-step {
        width: 90%;
    }
}
