/* Main background and structure */
body {
    background: linear-gradient(135deg, #111dcb 0%, #258dfc 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Login container styling */
.login-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.login-header {
    background: linear-gradient(to right, #111dcb 0%, #258dfc 100%);
    color: white;
    text-align: center;
    padding: 25px 20px;
}

.login-header h3 {
    margin-bottom: 5px;
    font-weight: 600;
}

.login-body {
    padding: 30px;
}

/* Form elements styling */
.form-label {
    font-weight: 500;
    color: #444;
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: 50px;
    padding: 12px 20px;
    border: 1px solid #e0e0e0;
    box-shadow: none;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #258dfc;
    box-shadow: 0 0 0 0.25rem rgba(37, 141, 252, 0.25);
}

.input-group .btn-outline-secondary {
    border-radius: 0 50px 50px 0;
    border-left: 0;
}

.btn-login {
    border-radius: 50px;
    padding: 12px 20px;
    background: linear-gradient(to right, #111dcb 0%, #2575fc 100%);
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 29, 203, 0.3);
}

.forgot-password {
    color: #258dfc;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
    font-size: 0.9rem;
}

.forgot-password:hover {
    color: #111dcb;
    text-decoration: underline;
}

/* Flow Diagram Styles */
.flow-diagram {
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    padding: 30px;
    height: 100%;
    transition: transform 0.3s ease;
}

.flow-diagram:hover {
    transform: translateY(-5px);
}

.flow-diagram-header {
    color: #111dcb;
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.flow-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 20px;
}

.flow-step {
    text-align: center;
    width: 90px;
    position: relative;
    transition: transform 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-3px);
}

.step-number {
    background: linear-gradient(to right, #111dcb 0%, #258dfc 100%);
    color: white;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 12px;
    font-weight: bold;
}

.step-icon {
    background-color: #f8f9fa;
    border-radius: 12px;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 24px;
    color: #258dfc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.flow-step:hover .step-icon {
    background-color: #e6f3ff;
    color: #111dcb;
    box-shadow: 0 6px 12px rgba(37, 141, 252, 0.2);
}

.step-title {
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    color: #555;
}

.arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 16px;
    width: 20px;
}

/* Vertical arrow styling - new */
.vertical-arrow {
    display: flex;
    justify-content: center;
    color: #aaa;
    font-size: 16px;
    position: absolute;
    width: 100%;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.flow-step:hover .vertical-arrow {
    color: #258dfc;
}

/* Alert styling */
.alert {
    border-radius: 8px;
    padding: 12px 15px;
}

.btn-close {
    font-size: 0.8rem;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .flow-diagram {
        margin-bottom: 30px;
    }
    
    .flow-row {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .arrow, .vertical-arrow {
        display: none;
    }
    
    .flow-step {
        margin: 0 10px 15px;
    }
}

@media (max-width: 576px) {
    .login-body {
        padding: 20px;
    }
    
    .login-header {
        padding: 15px;
    }
    
    .flow-diagram {
        padding: 20px;
    }
}