/*.g-recaptcha {*/
/*    width: 100%;*/
/*}*/

/*.g-recaptcha iframe {*/
/*    width: 100%;*/
/*}*/

/*.rc-anchor-normal {*/
/*    width: 100% !important;*/
/*    box-shadow: none !important;*/
/*}*/

/*.rc-anchor-light {*/
/*    background: transparent;*/
/*    border: 0px solid #d3d3d3;*/
/*}*/

/* Base Styles */
body {
    font-family: var(--bs-font-sans-serif);
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* login Container */
.login-container {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.login-card {
    width: 100%;
    max-width: 500px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    overflow: hidden;
}

.login-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-header h1 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #4b5563; /* text-gray-600 */
    margin-bottom: 0.5rem;
}

.login-header .subtitle {
    font-size: 0.875rem;
    font-weight: bold;
    color: #9ca3af; /* text-gray-400 */
    margin-bottom: 1rem;
}

.armoirie {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.armoirie::after {
    content: "";
    display: block;
    width: 170px;
    height: 170px;
    background-image: url('../images/new_company_logo-sans-bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Form Elements */
.required-fields-notice {
    background-color: #fefce8; /* bg-yellow-50 */
    border: 1px solid #f59e0b; /* border-yellow-500 */
    border-radius: 4px;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: bold;
    color: #4b5563; /* text-gray-600 */
    text-align: center;
    margin-bottom: 1rem;
}

.required-asterisk {
    color: #dc2626; /* text-red-600 */
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-checkbox {
    margin-right: 8px;
}

/* Link styles */
.text-link {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.text-link:hover {
    text-decoration: underline;
}

.error-message {
    color: var(--color-accent);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Password Input */
.password-input-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 10px;
    transition: all 0.3s ease;;
}

.toggle-password-confirm {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 10px;
    transition: all 0.3s ease;;
}

.toggle-password:hover {
    color: #1f2937;
}

.password-requirements {
    background-color: #f8fafc;
    /*border: 1px solid #117B0A4C;*/
    border-left: 4px solid #117B0A4C;
    border-radius: 0.375rem;
    padding: 1rem;
    margin: 0.75rem 0;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.password-requirements.show {
    display: block;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.password-requirements {
    animation: fadeIn 0.8s ease-out;
}

.requirements-title {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement {
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.requirement-icon {
    margin-right: 0.5rem;
}

.requirement-icon.valid {
    color: var(--color-success);
}

.requirement-icon.invalid {
    color: var(--color-accent);
}

/* Form Footer */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.login-link {
    color: #4b5563;
    text-decoration: underline;
    font-size: 0.875rem;
    transition: all 0.3s ease;;
}

.login-link:hover {
    color: #1f2937;
}

.form-button {
    width: 100%;
    background-color: var(--color-success) !important;
    border: 2px solid var(--color-success);
    color: var(--color-white);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-button:hover {
    background-color: #145924;
    transform: translateY(-2px);
    color: var(--color-white) !important;
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.3);
}

/* Responsive */
@media (max-width: 640px) {
    .login-card {
        padding: 1.5rem;
    }

    .form-footer {
        flex-direction: column;
        gap: 1rem;
    }

    .submit-button {
        width: 100%;
    }
}

