﻿/* Country phone input styling */
.country-phone-input {
    display: flex;
    gap: 0.5rem;
}

.country-code-select {
    flex: 0 0 120px;
}

.phone-input {
    flex: 1;
}

.validation-indicator {
    min-height: 20px;
    margin-top: 0.25rem;
}

/* Form validation styling with green theme */
.form-control.is-valid {
    border-color: #396940;
    box-shadow: 0 0 0 0.2rem rgba(57, 105, 64, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Password strength indicator */
.password-strength {
    margin-top: 0.5rem;
}

.password-strength-bar {
    height: 4px;
    background-color: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
}

.password-strength-fill {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-weak {
    background-color: #dc3545;
    width: 25%;
}

.strength-fair {
    background-color: #fd7e14;
    width: 50%;
}

.strength-good {
    background-color: #4a7c54;
    width: 75%;
}

.strength-strong {
    background-color: #396940;
    width: 100%;
}

/* Enhanced validation messages */
.validation-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Phone validation success indicator */
.validation-indicator .text-success {
    color: #396940 !important;
}

/* Password requirements valid state */
.password-requirements li.valid {
    color: #396940;
}

    .password-requirements li.valid i {
        color: #396940;
    }

/* Enhanced password strength text */
.password-strength-text {
    color: #666;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Button styling consistency */
.btn-primary {
    background-color: #396940;
    border-color: #396940;
}

    .btn-primary:hover {
        background-color: #2d5a32;
        border-color: #2d5a32;
    }

    .btn-primary:focus {
        box-shadow: 0 0 0 0.2rem rgba(57, 105, 64, 0.25);
    }

.btn-success {
    background-color: #4a7c54;
    border-color: #4a7c54;
}

    .btn-success:hover {
        background-color: #396940;
        border-color: #396940;
    }

.btn-outline-primary {
    color: #396940;
    border-color: #396940;
}

    .btn-outline-primary:hover {
        background-color: #396940;
        border-color: #396940;
        color: #fff;
    }
