﻿/* Login Page Styling */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .login-container {
        padding: 10px; /* Reduce padding for smaller screens */
    }

    .login-card {
        width: 90%; /* Make the card width dynamic */
        max-width: none; /* Remove the fixed max-width */
    }

    .form-control {
        font-size: 0.9rem; /* Slightly smaller input font size */
        padding: 8px; /* Adjust padding for smaller screens */
    }

    .btn-success {
        padding: 8px 12px; /* Adjust button padding */
        font-size: 0.9rem; /* Slightly smaller button font */
    }
}


.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #f6fdff; /* Light background */
    padding: 20px;
    -moz-box-shadow: inherit;
    -webkit-box-shadow: inherit;
    box-shadow: inherit;
    margin-top:0px;
}

.login-card {
    opacity: 1; /* Start hidden */
    transform: translateY(20px); /* Positioned slightly down */
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 6px 6px rgba(0, 0, 0, 0.1); /* Multiple shadows for depth */
    padding: 30px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add hover transitions */
    animation: fadeIn 0.8s ease-out; /* Add 'forwards' to retain the final state */
}

    .login-card:hover {
        transform: translateY(-10px) scale(1.02); /* Slight lift and zoom on hover */
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3), 0 8px 8px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
    }

    .login-card h2 {
        color: #28a745; /* Green for headings */
        margin-bottom: 10px;
        font-weight:bold;
    }

    .login-card p {
        color: #333;
        margin-bottom: 20px;
    }

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

    .form-group label {
        font-weight: bold;
        color: #00adef; /* Blue labels */
    }

.form-control {
    border: 2px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

    .form-control:focus {
        border-color: #00adef; /*Blue focus */
        box-shadow: 0 0 5px rgba(0, 173, 239, 0.5);
    }

.password-container .input-group {
    position: relative;
}

.password-container .form-control {
    padding-right: 40px; /* Add space for the icon */
    z-index: 1;
    position: relative; /* Prevent focus from overriding child elements */
}
    .password-container .form-control:focus {
        padding-right: 40px; /* Add space for the icon */
        z-index: 2;
        position: relative; /* Prevent focus from overriding child elements */
    }

.password-container .toggle-passwordsignin {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #ccc;
    z-index:3;
    vertical-align:middle;
    padding-bottom:10px;

}

    .password-container .toggle-passwordsignin:hover {
        opacity: 1; /* Brighten fully on hover */
    }

.error-message {
    color: orange;
    font-size: 0.9rem;
    display: none; /* Initially hidden */
    margin-top: 5px; /* Space between input and error */
}

.btn-success {
    background-color: #28a745; /* Green for the login button */
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 1rem;
    color: #fff;
    transition: background-color 0.3s ease;
}

    .btn-success:hover {
        background-color: #218838; /* Slightly darker green */
    }

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
}


.additional-links {
    margin-top: 15px;
}

    .additional-links a {
        color: #00adef; /* Blue links */
        text-decoration: none;
    }

        .additional-links a:hover {
            text-decoration: underline;
        }

#loadingSpinner {
    margin-top: 15px; /* Add spacing above the spinner */
    display: block;
    margin-left: auto;
    margin-right: auto; /* Center align the spinner */
}
/* Login Page Styling */




/*Signup Page Styling*/
.registration-page {
    background: linear-gradient(135deg, #00adef, #28a745);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-top: 0px;
    border-radius: 40px;
}

.registration-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 100%;
    animation: fadeIn 0.8s ease-out; /* Apply fade-in effect */
}

    .registration-card .title {
        font-size: 2rem;
        color: #00adef;
        margin-bottom: 10px;
    }

    .registration-card .subtitle {
        color: #6c757d;
        margin-bottom: 20px;
        font-size: 1.2rem;
        text-align:center;
    }

.form-section {
    margin-bottom: 30px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.section-title {
    font-size: 1.3rem;
    color: #28a745;
    margin-bottom: 15px;
}

.registration-form .form-group {
    margin-bottom: 15px;
    text-align: left;
}

.registration-form .form-control {
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 1rem;
    transition: box-shadow 0.3s, transform 0.2s;
}
    .registration-form .form-control:focus {
        box-shadow: 0 0 5px rgba(0, 173, 239, 0.7);
        transform: scale(1.02); /* Slight zoom on focus */
    }


.form-group-inline {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap; /* Ensure fields wrap on smaller screens */
}

    .form-group-inline .form-group {
        flex: 1;
        min-width: 150px; /* Maintain proper width for smaller devices */
    }

        .form-group-inline .form-group input {
            width: 100%;
        }

@media (max-width: 768px) {
    .registration-card {
        padding: 20px; /* Reduce padding for smaller screens */
    }

    .form-group-inline {
        flex-direction: column; /* Stack fields vertically */
    }

    .btn-primary {
        width: 100%; /* Full-width button on smaller screens */
    }
}

.password-containersignup {
    position: relative;
    display: flex;
    align-items: center; /* Vertically align content */
}

    /* Input Field in the Container */
    .password-containersignup input {
        padding-right: 40px; /* Space for the eye icon */
        flex: 1;
        position: relative;
    }

    /* Eye Icon Styling */
    .password-containersignup .toggle-passwordsignup {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        color: #333;
        z-index: 3;
        padding-bottom:10px;
        opacity:0.7;
    }

    .password-containersignup .toggle-passwordsignup:hover {
        opacity: 1.1; /* Brighten fully on hover */
    }

/* Error Message Styling */
.error-messagesignup {
    color: orange;
    font-size: 0.9rem;
    margin-top: 5px; /* Space between input and error */
    display: none; /* Initially hidden */
}
.form-group-pass {
    display: flex;
    flex-direction: column;
    gap: 5px; /* Space between input and error message */
    margin-bottom: 15px;
    text-align: left;
}
    .form-group-pass label {
        font-weight: bold;
        color: #00adef; /* Blue labels */
    }


.btn-primary {
    background-color: #00adef;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

    .btn-primary:hover {
        background-color: #007bbf;
        transform: translateY(-3px); /* Lift button slightly on hover */
    }

/*Mobile Number Country Code Style*/
/* Ensure Mobile Number field takes full width */
.iti {
    display: block;
    width: 100%; /* Make the field span full width */
}

    /* Ensure the input inside intl-tel-input takes full width */
    .iti input {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 1rem;
        transition: box-shadow 0.3s ease;
    }

        /* Add hover and focus effects */
        .iti input:focus {
            box-shadow: 0 0 5px rgba(0, 173, 239, 0.5);
            border-color: #00adef; /* Blue border on focus */
        }
/* Adjust the dropdown width */
.iti__dropdown {
    width: 300px; /* Increase width for better readability */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); /* Add subtle shadow */
    border-radius: 8px; /* Smooth rounded corners */
}

/* Adjust individual item styles */
.iti__country {
    padding: 10px 15px; /* Add more spacing inside items */
    font-size: 1rem; /* Slightly increase font size */
    border-bottom: 1px solid #ddd; /* Add subtle separator */
}

    .iti__country:hover {
        background-color: #f0f0f0; /* Highlight on hover */
        cursor: pointer;
    }

/* Remove focus outline from dropdown */
.iti__flag-container {
    outline: none;
}

/* Adjust flag size */
.iti__flag {
    border-radius: 6px; /* Rounded flag corners */
}

/* Adjust selected item */
.iti__selected-flag {
    padding: 5px 10px; /* Adjust spacing for better alignment */
}

/* Fix text alignment for RTL languages */
.iti__country-name {
    text-align: left;
    direction: ltr; /* Force proper direction */
}

/* Hide the eye icon for better appearance */
.iti__dial-code {
    margin-left: 5px; /* Add space between flag and code */
}

/* Modal Background */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Modal Content */
.image-modal-content {
    position: relative;
    width: 400px; /* Adjust width */
    height: 500px; /* Adjust height to include buttons */
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Cropping Area */
.cropper-container {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000;
}

    /* Cropper Image */
    .cropper-container img {
        max-width: 100%;
        max-height: 100%;
    }

    /* Circular Cropping Mask */
    .cropper-container::before {
        content: "";
        position: absolute;
        width: 250px; /* Diameter of the circle */
        height: 250px;
        border-radius: 50%; /* Makes the mask circular */
        border: 3px solid #00adef; /* Circular border color */
        box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.6); /* Dim the area outside the circle */
        pointer-events: none; /* Ignore mouse events on the mask */
        top: 50%; /* Center vertically */
        left: 50%; /* Center horizontally */
        transform: translate(-50%, -50%); /* Align to the center */
        z-index: 10; /* Ensure it's above the image */
    }

/* Close Button */
.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ddd; /* Semi-transparent white background */
    border: 1px solid red;
    font-size: 2.0rem; /* Larger size for visibility */
    font-weight: bold;
    color: #333; /* Dark color for contrast */
    cursor: pointer;
    border-radius: 10%; /* Circular shape */
    padding: 5px 10px;
    z-index: 10; /* Ensure it's above the image */
    transition: background-color 0.3s, transform 0.2s; /* Smooth hover effect */
}

    /* Hover Effect for Close Button */
    .close-modal:hover {
        background: rgba(255, 0, 0, 0.8); /* Red on hover */
        color: #fff; /* White text on hover */
        transform: scale(1.05); /* Slight zoom-in effect */
    }

/* Drag-and-Drop Zone Styling */
.drop-zone {
    border: 2px dashed #00adef;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    background: #f9f9f9;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .drop-zone:hover {
        background-color: #eefaff;
    }

    .drop-zone p {
        margin: 0;
        font-size: 1rem;
        color: #6c757d;
    }

    .drop-zone span {
        color: #007bbf;
        text-decoration: underline;
        cursor: pointer;
    }

    .drop-zone.drag-over {
        background-color: #d9f0ff;
    }

/* Buttons */
.modal-buttons {
    padding: 15px;
    display: flex;
    gap: 10px;
    justify-content: center;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
}

    .modal-buttons button {
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

    .modal-buttons .btn-primary {
        background-color: #00adef;
        color: #fff;
    }

    .modal-buttons .btn-secondary {
        background-color: #ccc;
        color: #000;
    }

    .modal-buttons button:hover {
        transform: scale(1.05);
    }

/* File Info Container */
.file-info {
    display: flex;
    align-items: center;
    margin-top: 10px;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
    color: #333;
}

/* File Name */
.file-name {
    flex-grow: 1; /* Push the remove button to the right */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Remove File Button */
.remove-file {
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff0000;
    cursor: pointer;
    margin-left: 10px;
    transition: transform 0.2s ease, color 0.2s ease;
}

    .remove-file:hover {
        color: #b30000;
        transform: scale(1.2); /* Slight zoom-in effect */
    }


/* Toggle Switch Container */
/* Flex Container for Toggle Switch */
.toggle-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

/* Label Styling for Better Alignment */
.toggle-label-text {
    font-weight: bold;
    font-size: 1rem;
    color: #00adef; /* Blue color for label */
    margin-right: 10px;
}

/* Adjust Toggle Description Spacing */
.toggle-description {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 5px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

/* Hide Default Checkbox */
.toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Slider Background */
.toggle-label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

    /* Slider Circle */
    .toggle-label:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: 0.4s;
        border-radius: 50%;
    }

/* Toggle Checked State */
.toggle-input:checked + .toggle-label {
    background-color: #28a745; /* Green for "on" */
}

    /* Move Circle When Checked */
    .toggle-input:checked + .toggle-label:before {
        transform: translateX(26px);
    }

/* Description Styling */
.toggle-description {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 5px;
}


/* Align shipping address fields in a row */
.form-group-inline {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Ensures fields wrap on smaller screens */
}

    /* Ensure each field adjusts properly */
    .form-group-inline .form-group {
        flex: 1;
        min-width: 200px; /* Minimum width for smaller screens */
    }

/* Address Fields Placeholder Color */
.form-control::placeholder {
    color: #aaa; /* Light gray for placeholders */
    font-style: italic;
}

/* Adjust field spacing */
.form-control {
    margin-bottom: 15px;
    padding: 10px;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .form-group-inline {
        flex-direction: column; /* Stack fields vertically on smaller screens */
    }

    .form-section .section-title {
        font-size: 1.1rem; /* Adjust title size for smaller screens */
    }
}

/* Suggestions Dropdown Styling */
/* Suggestions Dropdown Styling */
.suggestions-list {
    list-style-type: none;
    padding: 0;
    margin: 2px 0 0; /* Adjust position below input */
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    z-index: 1000; /* Ensure dropdown appears above other elements */
    width: inherit; /* Match the input box width */
    max-height: 160px; /* Limit height for scrolling */
    overflow-y: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

    .suggestions-list li {
        padding: 8px 10px;
        cursor: pointer;
        font-size: 0.95rem;
        color: #333;
    }

        .suggestions-list li:hover {
            background-color: #f0f0f0;
            color: #007bbf;
        }


.alert {
    padding: 10px 15px;
    margin-bottom: 15px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
}

/* Loading Spinner Container */
.loading-spinnersignup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    color: #fff;
    font-size: 1.2rem;
}

/* Spinner Animation */
.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #00adef;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.thank-you-page {
    text-align: center;
    padding: 50px;
    font-family: Arial, sans-serif;
    margin-top:100px;
    height:90%;
}

    .thank-you-page h1 {
        font-size: 2.5rem;
        color: #00adef;
    }

    .thank-you-page p {
        font-size: 1.2rem;
        color: #555;
        margin: 20px 0;
    }

    .thank-you-page .btn {
        padding: 10px 20px;
        font-size: 1rem;
        color: #fff;
        background-color: #00adef;
        text-decoration: none;
        border-radius: 5px;
    }

        .thank-you-page .btn:hover {
            background-color: #007bbf;
        }

/*Signup Page Styling*/

