﻿:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --success-color: #059669;
    --danger-color: #dc2626;
    --warning-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --bg-light: #f9fafb;
}

 
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.main-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 20px 0;
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

    .logo-container img {
        max-width: 250px;
        height: auto;
        filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    }

.logo-placeholder {
    background: white;
    padding: 20px 40px;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .logo-placeholder h2 {
        margin: 0;
        color: var(--primary-color);
        font-weight: 700;
    }

.verification-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}

.card-header-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

    .card-header-custom h4 {
        margin: 0;
        font-weight: 600;
        font-size: 1.5rem;
    }

    .card-header-custom p {
        margin: 0.5rem 0 0;
        opacity: 0.9;
        font-size: 0.95rem;
    }

.card-body-custom {
    padding: 2.5rem;
}

.form-label-custom {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.input-group-custom {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    z-index: 10;
}

.form-control-custom {
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .form-control-custom:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
        outline: none;
    }

.btn-custom {
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

    .btn-primary-custom:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
    }

.btn-success-custom {
    background: linear-gradient(135deg, var(--success-color) 0%, #047857 100%);
    color: white;
}

    .btn-success-custom:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 15px -3px rgba(5, 150, 105, 0.3);
    }

.btn-secondary-custom {
    background: #6b7280;
    color: white;
}

    .btn-secondary-custom:hover {
        background: #4b5563;
    }

/* OTP Styles */
.otp-container {
    padding: 2rem 0;
}

.otp-info {
    text-align: center;
    margin-bottom: 2rem;
}

    .otp-info .email-badge {
        background: var(--bg-light);
        padding: 0.75rem 1.5rem;
        border-radius: 10px;
        display: inline-block;
        margin: 1rem 0;
        color: var(--text-primary);
        font-weight: 600;
    }

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.otp-input {
    width: 50px;
    height: 55px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .otp-input:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
        outline: none;
    }

.otp-timer {
    text-align: center;
    margin-top: 1.5rem;
}

.timer-badge {
    background: #fee2e2;
    color: var(--danger-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
}

/* Task Details Styles */
.task-details-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.task-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1.5rem;
}

    .task-header h5 {
        margin: 0;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

    .detail-row:last-child {
        border-bottom: none;
    }

.detail-label {
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-value {
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-success {
    background: #d1fae5;
    color: var(--success-color);
}

.status-warning {
    background: #fed7aa;
    color: #ea580c;
}

.status-info {
    background: #dbeafe;
    color: #2563eb;
}

/* Responsive */
@media (max-width: 576px) {
    .card-body-custom {
        padding: 1.5rem;
    }

    .card-header-custom {
        padding: 1.5rem;
    }

    .otp-input {
        width: 45px;
        height: 50px;
        font-size: 1.25rem;
    }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .detail-value {
        text-align: left;
    }

    .btn-custom {
        width: 100%;
    }
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

    .icon-circle i {
        font-size: 1.75rem;
    }

/* Wrapper for sticky footer */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main content should grow to push footer down */
.main-container {
    flex: 1 0 auto;
}

/* Footer styles */
.content-footer {
    flex-shrink: 0;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    margin-top: auto;
}

.footer-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

    .footer-link:hover {
        color: #0056b3;
        text-decoration: underline;
    }

.text-body {
    color: #6c757d;
    font-size: 14px;
}

