/* dealersite_password_reset.css */

/* Global Styles */
.password-body {
    font-family: 'Karla', sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f8f9fa; /* A very light gray for the page background */
    color: #333333; /* Default text color */
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content */
    align-items: center;   /* Horizontally center content */
    min-height: 100vh;     /* Ensure body takes at least full viewport height */
    box-sizing: border-box;
}

/* Page Wrapper - helps in centering the card */
.password-reset-page-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Reset Card - The main content box with grayish background */
.reset-card {
    background-color: #eeeeee; /* Grayish background for the card */
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 480px; /* Max width for the card, can be adjusted */
    text-align: center;   /* Center content (logo, text) within the card */
    box-sizing: border-box;
}

/* Logo Styling */
.logo-container {
    margin-bottom: 25px;
}

.site-logo {
    max-width: 150px; /* Slightly smaller logo for this context */
    height: auto;
}

/* Form Content Area */
.form-content {
    margin-top: 10px;
}

/* Form Title */
.form-title {
    font-family: 'Unica One', sans-serif;
    font-size: 1.8em;
    color: #000000;
    margin-top: 0;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

/* Form Instruction Paragraph */
.form-instruction {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 25px;
}

/* Password Reset Form Specifics */
.password-reset-form {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Make form elements take full width of their container */
}

/* Styling for Django form fields (assuming {{form.as_p}} is used) */
.password-reset-form p {
    margin-bottom: 15px;
    text-align: left; /* Align labels and inputs to the left */
}

.password-reset-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 0.9em;
    color: #333333;
}

.password-reset-form input[type="email"],
.password-reset-form input[type="text"] /* Add other input types if needed */ {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: 'Karla', sans-serif;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.password-reset-form input[type="email"]:focus,
.password-reset-form input[type="text"]:focus {
    border-color: #FA5500;
    outline: none;
    box-shadow: 0 0 5px rgba(250, 85, 0, 0.3);
}

/* Submit Button Styling */
.submit-button {
    background-color: #FA5500;
    color: #ffffff;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-family: 'Unica One', sans-serif; /* Using Unica One for button */
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%; /* Full width button */
    margin-top: 10px; /* Space above the button */
    margin-bottom: 20px; /* Space below the button */
    transition: background-color 0.3s ease, transform 0.2s ease;
    letter-spacing: 1px;
}

.submit-button:hover {
    background-color: #d64800; /* Darker orange on hover */
    transform: translateY(-1px);
}

.submit-button:active {
    background-color: #b23a00; /* Even darker orange on click */
    transform: translateY(0);
}

/* Home Link Styling */
.home-link {
    color: #FA5500;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    display: inline-block; /* Allows for margin if needed */
    transition: color 0.3s ease;
}

.home-link:hover {
    color: #d64800;
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 520px) {
    .reset-card {
        padding: 25px 20px;
        margin-left: 15px;
        margin-right: 15px;
        max-width: 90%;
    }

    .form-title {
        font-size: 1.6em;
    }

    .site-logo {
        max-width: 130px;
    }

    .password-reset-form input[type="email"],
    .password-reset-form input[type="text"] {
        padding: 10px 12px;
        font-size: 0.95em;
    }

    .submit-button {
        font-size: 1em;
        padding: 10px 15px;
    }
}

@media (max-width: 400px) {
    body {
        padding: 10px;
    }
    .form-title {
        font-size: 1.4em;
    }
    .site-logo {
        max-width: 110px;
    }
}


/* Page Wrapper - helps in centering the card */
.reset-sent-page-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Confirmation Card - The main content box with grayish background */
.confirmation-card {
    background-color: #eeeeee; /* Grayish background for the card */
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px; /* Max width for the card, can be adjusted */
    text-align: center;   /* Center content (logo, text) within the card */
    box-sizing: border-box;
}

/* Logo Styling (if you include the logo) */
.logo-container {
    margin-bottom: 25px;
}

.site-logo {
    max-width: 150px;
    height: auto;
}

/* Confirmation Content Area */
.confirmation-content {
    margin-top: 10px;
}

/* Page Title */
.page-title {
    font-family: 'Unica One', sans-serif;
    font-size: 2em; /* Adjusted size for an H1 */
    color: #000000;
    margin-top: 0;
    margin-bottom: 20px; /* More space after the main title */
    letter-spacing: 0.5px;
}

/* Confirmation Message Paragraphs */
.confirmation-message {
    font-size: 1em;
    color: #454545;
    margin-bottom: 15px;
    max-width: 90%; /* Prevent lines from becoming too wide */
    margin-left: auto;
    margin-right: auto;
}

.secondary-message {
    font-size: 0.9em; /* Slightly smaller for the secondary instruction */
    color: #666666;
    margin-bottom: 25px; /* More space before the home link */
}

/* Home Link Styling */
.home-link {
    color: #FA5500;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    display: inline-block;
    padding: 8px 15px; /* Add some padding to make it more button-like */
    border: 1px solid #FA5500;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.home-link:hover {
    background-color: #FA5500;
    color: #ffffff;
    text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .confirmation-card {
        padding: 25px 20px;
        margin-left: 15px;
        margin-right: 15px;
        max-width: 90%;
    }

    .page-title {
        font-size: 1.8em;
    }

    .site-logo {
        max-width: 130px;
    }

    .confirmation-message {
        font-size: 0.95em;
    }
}

@media (max-width: 400px) {

    .page-title {
        font-size: 1.6em;
    }
    .site-logo {
        max-width: 110px;
    }
     .confirmation-message {
        font-size: 0.9em;
    }
    .secondary-message {
        font-size: 0.85em;
    }
    .home-link {
        font-size: 0.9em;
        padding: 6px 12px;
    }
}
