
        :root {
            --primary-green: #007bff;
            --dark-green: #1b5e20;
            --light-green: #4caf50;
            --lighter-green: #e8f5e9;
            --accent-green: #43a047;
        }
        
        body {
            margin: 0;
            padding: 0;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            overflow-x: hidden;
            background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
        }
        
        .background-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
        }
        
        .background-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%, 
                rgba(161, 164, 167, 0.15) 100%);
        }
        
        .background-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url("/static/images/Renovated.jpg");
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;

        }
        
        .background-pattern {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
                radial-gradient(circle at 80% 70%, rgba(154, 158, 154, 0.1) 1px, transparent 1px);
            background-size: 50px 50px, 40px 40px;
        }
        
        .content-wrapper {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
            position: relative;
            z-index: 1;
        }
        
        .registration-card {
            border-radius: 16px;
            box-shadow: 0 15px 35px rgba(46, 125, 50, 0.2);
            overflow: hidden;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(8px);
            width: 100%;
            max-width: 800px;
            animation: fadeIn 0.8s ease-out;
            border: 1px solid rgba(76, 175, 80, 0.2);
        }
        
        .registration-header {
                    background: #c4dfc4;
            color: black;
            padding: 20px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .registration-header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
            transform: rotate(30deg);
        }
        
        .registration-body {
            padding: 30px;
            background: linear-gradient(to bottom, #ffffff, #f8fdf8);
        }
        
        .logo-container {
            margin-bottom: 15px;
        }
        
        .logo-container img {
            width: 90px;
            height: 90px;
            object-fit: contain;
            filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
        }
        
        .form-control:focus {
            border-color: var(--primary-green);
            box-shadow: 0 0 0 0.1rem rgba(233, 254, 255, 0.25);
        }
        
        
      .password-strength-meter .progress {
          height: 6px;
          border-radius: 3px;
          background-color: #e8f5e9;
      }
      .progress-bar {
          border-radius: 3px;
          transition: width 0.3s ease;
      }

        
        .requirement-list {
            font-size: 0.85rem;
        }
        
        .requirement-list i {
            width: 20px;
        }
        
        
        .btn-outline-primary {
            color: var(--primary-green);
            border-color: var(--primary-green);
        }
        
        .btn-outline-primary:hover {
            background-color: var(--primary-green);
            border-color: var(--primary-green);
        }
        
        .password-toggle {
            cursor: pointer;
            color: #689f38;
            transition: color 0.2s;
        }
        
        .password-toggle:hover {
            color: var(--dark-green);
        }
        
        .alert-light {
            background-color: var(--lighter-green);
            border-color: #c8e6c9;
            color: #2e7d32;
        }
        
        .form-check-input:checked {
            background-color: var(--primary-green);
            border-color: var(--primary-green);
        }
        
        .form-check-input:focus {
            border-color: var(--primary-green);
            box-shadow: 0 0 0 0.25rem rgba(46, 125, 50, 0.25);
        }
        
        #combinationVerifyAbiding {
            border: 2px solid #2e7d32; /* primary green */
            border-radius: 4px; 
            width: 1.2em; 
            height: 1.2em;
        }
        
        
        .text-danger {
            color: #d32f2f !important;
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @media (max-width: 768px) {
            .registration-body {
                padding: 20px;
            }
            
            .registration-header {
                padding: 20px;
            }
            
            .btn-primary {
                width: 100%;
            }
        }

    .is-invalid {
        border-color: #dc3545 !important;
    }

    .is-invalid:focus {
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
    }

    .field-error {
        font-size: 0.875rem;
    }

    .alert {
        animation: fadeIn 0.5s ease-out;
    }

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



:root {
    --primary-green: #2e7d32;
    --dark-green: #1b5e20;
    --light-green: #4caf50;
    --lighter-green: #e8f5e9;
    --accent-green: #43a047;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url("/static/images/Renovated.jpg") no-repeat center center fixed;
    background-size: cover;
    position: relative;
}


body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(76, 175, 80, 0.1) 2px, transparent 2px),
                radial-gradient(circle at 80% 70%, rgba(76, 175, 80, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 40px 40px;
    pointer-events: none;
}

/* Footer Styles */
.footer {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    border-top: 1px solid rgba(76, 175, 80, 0.2);
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--dark-green);
    text-decoration: underline;
}

/* Password toggle button */
.password-toggle-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    transition: color 0.2s;
    z-index: 5;
    background: none;
    border: none;
    padding: 0;
}

.password-toggle:hover {
    color: var(--primary-green);
}

/* Reusable animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s;
}

/* Responsive helpers */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

        :root {
            --primary-green: #2e7d32;
            --dark-green: #1b5e20;
            --light-green: #4caf50;
            --lighter-green: #e8f5e9;
            --accent-green: #43a047;
        }
        
        body {
            margin: 0;
            padding: 0;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: url("/static/images/Renovated.jpg") no-repeat center center fixed;
            background-size: cover;
            position: relative;
        }
        
        body::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 20% 30%, rgba(76, 175, 80, 0.1) 2px, transparent 2px),
                        radial-gradient(circle at 80% 70%, rgba(76, 175, 80, 0.1) 1px, transparent 1px);
            background-size: 50px 50px, 40px 40px;
            pointer-events: none;
        }
        
        .main-content {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
        }
        
        .login-container {
            width: 100%;
            max-width: 420px;
        }
        
        .login-card {
            background: rgba(255, 255, 255, 0.97);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            box-shadow: 0 20px 40px rgba(46, 125, 50, 0.25);
            overflow: hidden;
            animation: fadeInUp 0.8s ease-out;
            border: 1px solid rgba(76, 175, 80, 0.25);
        }
        
        .login-header {
            background: #c4dfc4;
            color: rgb(0, 0, 0);
            padding: 20px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .login-header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
            transform: rotate(30deg);
        }
        
        .logo-container {
            margin-bottom: 15px;
            position: relative;
            z-index: 2;
        }
        
        .logo-container img {
            width: 90px;
            height: 90px;
            object-fit: contain;
            filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
        }
        
        .login-header h4 {
            margin: 0;
            font-weight: 600;
            position: relative;
            z-index: 2;
            color: rgb(0, 0, 0);
            font-style: italic;
        }
        
        .login-body {
            padding: 30px;
        }
        
        .form-group {
            margin-bottom: 20px;
            position: relative;
        }
        
        .form-label {
            font-weight: 500;
            color: var(--dark-green);
            margin-bottom: 8px;
        }
        
        .form-control {
            border-radius: 8px;
            padding: 12px 15px;
            border: 1px solid #ced4da;
            transition: all 0.3s ease;
        }
        
        .form-control:focus {
            border-color: var(--primary-green);
            box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.25);
        }
        
        .password-toggle-container {
            position: relative;
        }
        
        .password-toggle {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #6c757d;
            transition: color 0.2s;
            z-index: 5;
            background: none;
            border: none;
            padding: 0;
        }
        
        .password-toggle:hover {
            color: var(--primary-green);
        }
        
        .btn-login {
            background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
            border: none;
            padding: 12px;
            font-weight: 500;
            border-radius: 8px;
            transition: all 0.3s ease;
            width: 100%;
            color: white;
            margin-top: 10px;
        }
        
        .btn-login:hover {
            background: linear-gradient(135deg, var(--light-green) 0%, var(--primary-green) 100%);
            box-shadow: 0 6px 12px rgba(46, 125, 50, 0.3);
            transform: translateY(-2px);
        }
        
        .btn-login:active {
            transform: translateY(0);
        }
        
        .login-links {
            margin-top: 20px;
            text-align: center;
        }
        
        .login-links a {
            color: var(--primary-green);
            text-decoration: none;
            transition: color 0.2s;
            font-weight: 500;
        }
        
        .login-links a:hover {
            color: var(--dark-green);
            text-decoration: underline;
        }
        
        .alert {
            border-radius: 8px;
            border: none;
            margin-bottom: 20px;
        }
        
        .alert-warning {
            background-color: #fff3cd;
            color: #856404;
        }
        
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
            20%, 40%, 60%, 80% { transform: translateX(5px); }
        }
        
        .shake {
            animation: shake 0.5s;
        }
        
        @media (max-width: 768px) {
            
            .login-container {
                padding: 15px;
            }
            
            .login-body {
                padding: 20px;
            }
            
            .login-header {
                padding: 20px;
            }
        }
        
