body, html {
    height: 100%;
    margin: 0;
    font-family: 'Arial', sans-serif';
}

.background-image {
    position: relative;
    min-height: 100vh;
    background: url('bg.png') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
}

.background-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(28, 148, 73, 0.08) 0%, 
        rgba(0, 0, 0, 0.05) 25%, 
        rgba(255, 255, 255, 0.03) 50%, 
        rgba(28, 148, 73, 0.06) 75%, 
        rgba(0, 0, 0, 0.08) 100%);
    z-index: 1;
}

.login-box {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 2;
    position: relative;
    border-radius: 20px;
    overflow: visible;
    padding: 30px;
    animation: slideInUp 0.8s ease-out;
    transform: translateY(0);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: 24px;
    font-weight: bold;
}

.logo img {
    max-width: 150px;
}

form input {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.btn-primary {
    background-color: #333 !important;
    border: none;
}


.btn-success {
    color: #fff;
    background-color: #333 !important;
   
}




img.img-fluid {
    object-fit: cover;
}

/* Remove white border and shadow */
.col-lg-6.d-none.d-lg-block img {
    border: none; /* Remove border */
    border-radius: 0; /* Remove border radius */
    object-fit: cover;
    box-shadow: none; /* Remove shadow */
}

/* Positioning image that extends beyond form boundaries */
.overlay-dog {
    position: absolute;
    top: 260px;
    right: -70px;
    width: 40%;
    z-index: 2;
}

/* Media queries for all popular screens */

/* Hide dog on all phones (width up to 767px), including landscape orientation */
@media (max-width: 767px) {
    .overlay-dog {
        display: none;
    }
}

/* Hide dog on tablets in portrait orientation (width up to 1024px) */
@media (max-width: 1024px) and (orientation: portrait) {
    .overlay-dog {
        display: none;
    }
}

/* Hide dog for devices with small height up to 600px */
@media (max-height: 600px) {
    .overlay-dog {
        display: none;
    }
}

/* Hide dog on tablets with height up to 800px in portrait orientation */
@media (max-height: 800px) and (min-width: 768px) and (orientation: portrait) {
    .overlay-dog {
        display: none;
    }
}

/* Password Strength Indicator Styles */
.password-strength-container {
    margin-top: 5px;
}

.password-strength-bar {
    width: 100%;
    height: 6px;
    background-color: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid #dee2e6;
}

.password-strength-fill {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.password-strength-text {
    font-size: 12px;
    font-weight: 500;
}

/* Password strength levels */
.password-strength-weak {
    background-color: #dc3545 !important;
}

.password-strength-fair {
    background-color: #fd7e14 !important;
}

.password-strength-good {
    background-color: #ffc107 !important;
}

.password-strength-strong {
    background-color: #28a745 !important;
}

/* Email validation indicator styles */
.email-validation-container {
    margin-top: 5px;
}

.email-validation-message {
    text-align: center;
}

.email-validation-text {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.email-validation-success {
    color: #28a745;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.email-validation-error {
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.email-validation-checking {
    color: #6c757d;
    background-color: #e2e3e5;
    border: 1px solid #d6d8db;
}

/* Password toggle button styles */
.password-addon {
    border: none !important;
    background: none !important;
    padding: 0.375rem 0.75rem !important;
    z-index: 10;
    transition: color 0.15s ease-in-out;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-addon:hover {
    color: #495057 !important;
    background: none !important;
}

.password-addon:focus {
    box-shadow: none !important;
    outline: none !important;
}

.password-addon i {
    font-size: 1rem;
    line-height: 1.5;
    color: #6c757d;
}

.password-addon:hover i {
    color: #495057;
}

/* Promo code help text styles */
.promo-code-help {
    margin-top: 0.25rem;
}

.promo-code-help small {
    color: #6c757d;
    font-size: 0.875rem;
}

.promo-code-help i {
    margin-right: 0.25rem;
    color: #17a2b8;
}

/* Name validation error styles */
.name-validation-error {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 0.5rem;
    border-radius: 0.25rem;
    margin-top: 0.5rem;
}

.name-validation-error small {
    font-size: 0.875rem;
}

.name-validation-error i {
    margin-right: 0.25rem;
    color: #f39c12;
}

/* Password requirements list styles */
.password-requirements-list {
    margin-top: 0.5rem;
    padding-left: 0;
    background: rgba(248, 249, 250, 0.6);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(5px);
}

.password-requirements-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.4rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

.requirement-text {
    flex: 1;
    word-spacing: normal;
    white-space: normal;
    overflow-wrap: break-word;
    hyphens: none;
    line-height: 1.2;
}

.special-chars {
    font-family: monospace;
    font-size: 0.8em;
    color: #6c757d;
    white-space: nowrap;
}

.requirement-icon {
    margin-right: 0.5rem;
    font-size: 1rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    line-height: 1;
    transition: all 0.3s ease;
}

.requirement-icon.text-success {
    color: #28a745 !important;
    animation: checkmarkPulse 0.5s ease-out;
}

.requirement-icon.text-danger {
    color: #dc3545 !important;
    animation: errorShake 0.5s ease-out;
}

@keyframes checkmarkPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}


/* Validation indicators styling */
.email-validation, .name-validation-error {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 6px;
    padding: 8px 12px;
    margin-top: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: fadeInScale 0.3s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.password-strength-indicator {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 6px;
    padding: 8px 12px;
    margin-top: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: slideInDown 0.4s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.promo-code-help {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 6px;
    padding: 8px 12px;
    margin-top: 5px;
}

/* Button animations */
.btn {
    transition: all 0.3s ease;
}

.btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn:active:not(:disabled) {
    transform: translateY(0);
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Show dog on tablets in landscape orientation (min-width: 768px and max-width: 1024px) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .overlay-dog {
        display: block;
    }
}
