/* Centering styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f7;
}

.signup-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.signup__container {
    width: 100%;
    max-width: 500px; /* Reduced to prevent overflow */
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.signup__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.signup__logo {
    width: 120px; /* Adjusted size */
    height: auto;
    margin-bottom: 15px;
}

.signup__title {
    font-size: 24px;
    color: #333;
    margin: 0;
}

.signup-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 400px; /* Prevent form components from extending beyond this size */
}

.subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 15px;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.form-group {
    width: 100%;
}

.form-input {
    width: 100%; /* Ensure inputs are aligned with the container */
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #f0f0f0;
    font-size: 15px;
    outline: none;
    box-sizing: border-box; /* Prevent padding from affecting the size */
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: #8d7387;
}

.signup-button {
    background-color: #8d7387;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%; /* Full width to match the container */
}

.signup-button:hover {
    background-color: #7d6377;
}

.login-link {
    color: #8d7387;
    text-decoration: none;
    font-size: 14px;
    display: block; /* Ensure consistent alignment */
    margin-top: 10px;
}

.login-link:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .signup__container {
        padding: 15px;
    }

    .signup-form {
        gap: 12px;
    }

    .signup__title {
        font-size: 20px;
    }

    .form-input {
        font-size: 14px; /* Adjust font for smaller screens */
    }
}
