/* Copied from business/UserCompanyOwner/resources/public_css/forgot-password.css */
:root {
    --primary: #4361ee;
    --secondary: #3a0ca3;
    --accent: #7209b7;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #4cc9f0;
    --danger: #f72585;
    --warning: #fca311;
    --gray: #6c757d;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
}

.main-content {
    width: 100%;
    max-width: 500px;
}

.reset-container {
    width: 100%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.reset-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

h2 {
    color: var(--dark);
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 28px;
    text-align: center;
}

p {
    color: var(--gray);
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.6;
}

.reset-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.reset-step.active {
    display: block;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

input {
    width: 100%;
    padding: 15px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    transition: var(--transition);
    background: #f8f9fa;
}

input:focus {
    border-color: var(--primary);
    outline: none;
    background: white;
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
}

.btn-primary {
    padding: 15px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 15px;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.25);
}

.btn-primary:hover {
    background: var(--secondary);
    box-shadow: 0 6px 15px rgba(67, 97, 238, 0.3);
    transform: translateY(-2px);
}

.btn-primary:disabled {
    background: var(--gray);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
}

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

.back-to-login {
    text-align: center;
    margin-top: 25px;
}

.back-to-login a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.back-to-login a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.error-message {
    color: var(--danger);
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.success-message {
    color: var(--success);
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
    padding: 10px;
    background: rgba(76, 201, 240, 0.1);
    border-radius: 8px;
    display: none;
}

.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
    display: none;
    vertical-align: middle;
}

.progress-bar {
    height: 5px;
    background: #e9ecef;
    border-radius: 5px;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 5px;
    transition: width 0.5s ease;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e9ecef;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    transition: var(--transition);
}

.step.active .step-number {
    background: var(--primary);
    color: white;
}

.step.completed .step-number {
    background: var(--success);
    color: white;
}

.step-label {
    font-size: 12px;
    color: var(--gray);
    text-align: center;
}

.step.active .step-label {
    color: var(--primary);
    font-weight: 500;
}

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

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

@media (max-width: 576px) {
    .reset-container {
        padding: 30px 20px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    input {
        padding: 12px;
    }
    
    .btn-primary {
        padding: 12px;
    }
}

html[data-theme='dark'] body {
    background: linear-gradient(135deg, #0b1220 0%, #111827 100%);
}

html[data-theme='dark'] .reset-container {
    background: #0f172a;
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.52);
    border: 1px solid rgba(148, 163, 184, 0.24);
}

html[data-theme='dark'] h2 {
    color: #e2e8f0;
}

html[data-theme='dark'] p,
html[data-theme='dark'] .step-label,
html[data-theme='dark'] .resend-info {
    color: #94a3b8;
}

html[data-theme='dark'] input {
    background: #111827;
    color: #e2e8f0;
    border-color: #334155;
}

html[data-theme='dark'] input:focus {
    background: #0b1220;
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

html[data-theme='dark'] .btn-primary {
    background: #1d4ed8;
    box-shadow: 0 8px 18px rgba(29, 78, 216, 0.35);
}

html[data-theme='dark'] .btn-primary:hover {
    background: #1e40af;
}

html[data-theme='dark'] .toggle-password {
    color: #94a3b8;
}

html[data-theme='dark'] .toggle-password:hover {
    color: #e2e8f0;
}

html[data-theme='dark'] .back-to-login a {
    color: #93c5fd;
}

html[data-theme='dark'] .back-to-login a:hover {
    color: #bfdbfe;
}

html[data-theme='dark'] .error-message {
    color: #fda4af;
}

html[data-theme='dark'] .success-message {
    color: #7dd3fc;
    background: rgba(14, 116, 144, 0.2);
}

html[data-theme='dark'] .progress-bar {
    background: #1f2937;
}

html[data-theme='dark'] .step-number {
    background: #1f2937;
    color: #94a3b8;
}

html[data-theme='dark'] .step.active .step-label {
    color: #93c5fd;
}
