:root {
    --primary-color: #FF8D53;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    background: #f8f9fa;
}
.text-primary ,a{
    color:var(--primary-color) !important;
}
.login-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #ff7b54 0%, #ff9068 100%);
}

.left-panel {
    background: linear-gradient(135deg, #ff7b54 0%, #ff9068 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="80" r="2.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-10px) translateX(5px); }
    66% { transform: translateY(5px) translateX(-5px); }
    100% { transform: translateY(0px) translateX(0px); }
}

.admin-logo {
    font-size: 4rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.admin-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.admin-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
    animation: slideInRight 1s ease-out 0.3s both;
}

.features-list {
    position: relative;
    z-index: 2;
}

.feature-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.95;
    animation: slideInLeft 1s ease-out;
}

.feature-item:nth-child(1) { animation-delay: 0.5s; }
.feature-item:nth-child(2) { animation-delay: 0.7s; }
.feature-item:nth-child(3) { animation-delay: 0.9s; }
.feature-item:nth-child(4) { animation-delay: 1.1s; }

@keyframes slideInRight {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: floatAround 15s infinite linear;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 5s;
}

.floating-icon:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 10s;
}

.floating-icon:nth-child(4) {
    top: 40%;
    left: 90%;
    animation-delay: 7s;
}

@keyframes floatAround {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(90deg); }
    50% { transform: translate(-20px, 20px) rotate(180deg); }
    75% { transform: translate(-30px, -10px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

.right-panel {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.login-form-container {
    width: 100%;
    max-width: 550px;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    animation: slideInUp 1s ease-out;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff7b54, #ff9068);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(255, 123, 84, 0.3);
}

.brand-text {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    letter-spacing: -1px;
}

.welcome-text {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    text-align: center;
}

.welcome-subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1rem;
}

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

.form-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control {
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: #ff7b54;
    box-shadow: 0 0 0 3px rgba(255, 123, 84, 0.1);
    background: white;
}

.form-control.is-invalid {
    border-color: #dc3545;
    background: #fff5f5;
}
.form-control.is-valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.invalid-feedback {
    display: block;
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: 0.5rem;
}

.otp-container {
    display: none;
}

.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 1.5rem 0;
}

.otp-input {
    width: 74px;
    height: 74px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.otp-input:focus {
    outline: none;
    border-color: #ff7b54;
    box-shadow: 0 0 0 3px rgba(255, 123, 84, 0.1);
    background: white;
}

.otp-input.filled {
    border-color: #ff7b54;
    background: rgba(255, 123, 84, 0.1);
    transform: scale(1.05);
}

.timer-container {
    text-align: center;
    margin: 1.5rem 0;
}

.timer {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff7b54;
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
}

.resend-text {
    color: #666;
    font-size: 0.9rem;
}

.resend-text a {
    color: #ff7b54;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.resend-text a:hover {
    color: #ff9068;
}

.btn-primary {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ff7b54, #ff9068);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(255, 123, 84, 0.4);
    background: linear-gradient(135deg, #ff6b44, #ff8058);
}

.btn-primary:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-outline-primary {
    background: transparent;
    color: #ff7b54;
    border: 2px solid #ff7b54;
}

.btn-outline-primary:hover {
    background: #ff7b54;
    color: white;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@media (max-width: 767.98px) {
    .left-panel {
        min-height: 40vh;
        padding: 2rem 1rem;
    }

    .admin-title {
        font-size: 2rem;
    }

    .login-form-container {
        padding: 2rem 1.5rem;
        border-radius: 15px;
        margin-top: -2rem;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
    }

    .otp-input {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .otp-inputs {
        gap: 8px;
    }
}

.verification-success {
    color: #28a745;
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}
