/* --- Global & Layout --- */
body {
    background-color: #f8f9fa;
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.full-height {
    min-height: 100vh;
    display: flex;
}

/* --- Left Instruction Panel (Requested Design) --- */
.instruction-panel {
    /* Deep Green (#005c4b) to Purple (#4a148c) Gradient */
    background: linear-gradient(135deg, #005c4b 0%, #4a148c 100%);
    color: #ffffff;
    padding: 4rem 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    z-index: 10;
}

/* Texture overlay */
.instruction-panel::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.security-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.brand-text {
    position: absolute;
    top: 3rem;
    left: 3rem;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
}

/* --- Right Form Panel --- */
.form-panel {
    background: #ffffff;
    padding: 4rem 5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-card {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.form-label {
    font-weight: 600;
    color: #2d3436;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-control {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #dfe6e9;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #4a148c; /* Matches purple end of gradient */
    box-shadow: 0 0 0 4px rgba(74, 20, 140, 0.1);
}

.btn-primary-gradient {
    background: linear-gradient(135deg, #005c4b 0%, #4a148c 100%);
    border: none;
    color: white;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 20, 140, 0.25);
    color: white;
}

.otp-input {
    letter-spacing: 5px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.back-link {
    color: #636e72;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.back-link:hover {
    color: #005c4b;
}

@media (max-width: 991px) {
    .instruction-panel { padding: 3rem 2rem; min-height: 300px; }
    .form-panel { padding: 2rem; }
    .security-icon { font-size: 3rem; margin-bottom: 1rem; }
}