﻿/* Resend Email Confirmation Page Styles - Matching Synchrotask Theme */
:root {
    --synchrotask-blue: #2563eb;
    --synchrotask-dark-blue: #1a365d;
    --synchrotask-light-blue: #e0f2fe;
    --synchrotask-gray: #4a5568;
    --synchrotask-light-gray: #f8fafc;
    --synchrotask-border: #e2e8f0;
    --synchrotask-warning: #f59e0b;
}

.resend-confirmation-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}


.resend-confirmation-wrapper {
    width: 70%;
    position: relative;
}

.resend-confirmation-card {
    background: #ffffff;
    padding: 20px 40px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.08), 0 0 0 1px rgba(37, 99, 235, 0.05);
    text-align: center;
    animation: fadeUp 0.8s ease-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    .resend-confirmation-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 30px 60px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.08);
    }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Warning Icon */
.warning-icon-container {
    margin-bottom: 25px;
}

.warning-icon-circle {
    background-color:black;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.warning-icon {
    color: white;
    font-size: 2rem;
}

/* Logo */
.resend-confirmation-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.resend-confirmation-logo img{
    width:30%;
}
.resend-confirmation-logo-icon {
    background-color:black;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    margin-right: 12px;
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
}

.resend-confirmation-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: black;
}

/* Header */
.resend-confirmation-title {
    font-size: 2rem;
    font-weight: 700;
    color: black;
    margin-bottom: 10px;
}

.resend-confirmation-subtitle {
    font-size: 1rem;
    color: black;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Styles */
.resend-form {
    text-align: left;
}

.resend-input-group {
    margin-bottom: 25px;
}

.resend-input-label {
    font-weight: 600;
    color: black;
    margin-bottom: 8px;
    display: block;
    font-size: 0.95rem;
}

.resend-input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.resend-input-icon {
    position: absolute;
    left: 18px;
    color: #3498db;
    font-size: 18px;
    z-index: 1;
}

.resend-input-control {
    width: 100%;
    padding: 14px 16px 14px 52px;
    border-radius: 10px;
    border: 2px solid var(--synchrotask-border);
    transition: all 0.3s ease;
    font-size: 16px;
    background-color: white;
    color: black;
}

    .resend-input-control:focus {
        border-color: black;
        outline: none;
        background-color: white;
    }

    .resend-input-control::placeholder {
        color: #a0aec0;
    }

/* Validation */
.resend-text-danger {
    color: #ef4444 !important;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.resend-input-control.is-invalid {
    border-color: #ef4444;
}

    .resend-input-control.is-invalid:focus {
        box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
    }

/* Submit Button */
.resend-submit-btn {
    width: 100%;
    padding: 16px;
    border: solid 1px;
    background-color: white;
    color: black;
    font-size: 1.1rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 25px;
}

    .resend-submit-btn:hover {
        border-color: black;
        background-color: #3498db;
        color: white;
        transform: translateY(-2px);
    }

    .resend-submit-btn:active {
        transform: translateY(0);
    }

    .resend-submit-btn i {
        margin-right: 10px;
        font-size: 1.1rem;
    }

/* Help Info */
.resend-help-info {
    background-color: #fef3c7;
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    text-align: left;
    border-left: 4px solid var(--synchrotask-warning);
}

    .resend-help-info h5 {
        color: #92400e;
        margin-bottom: 10px;
        font-size: 1rem;
        font-weight: 700;
        display: flex;
        align-items: center;
    }

        .resend-help-info h5 i {
            margin-right: 8px;
        }

    .resend-help-info p {
        color: black;
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0;
        opacity: 0.9;
    }

/* Links */
.resend-extra-links {
    text-align: center;
    margin-top: 25px;
    font-size: 0.95rem;
    color: black;
}

    .resend-extra-links p {
        margin-bottom: 12px;
    }

.resend-link {
    color: black;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

    .resend-link:hover {
        color: #1d4ed8;
        text-decoration: underline;
    }

/* Success Message (for after submission) */
.resend-success-message {
    background-color: #d1fae5;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    border-left: 4px solid var(--synchrotask-success);
    display: none;
}

    .resend-success-message.active {
        display: block;
        animation: fadeIn 0.5s ease;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.resend-success-icon {
    color: #10b981;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.resend-success-text {
    color: #065f46;
    font-weight: 600;
    margin-bottom: 5px;
}

.resend-success-detail {
    color: #065f46;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 576px) {
    .resend-confirmation-card {
        padding: 40px 25px;
        margin: 10px;
    }

    .resend-confirmation-title {
        font-size: 1.8rem;
    }

    .resend-confirmation-logo-text {
        font-size: 1.6rem;
    }

    .resend-confirmation-logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .warning-icon-circle {
        width: 70px;
        height: 70px;
    }

    .warning-icon {
        font-size: 1.8rem;
    }

    .resend-help-info {
        padding: 15px;
    }
}

/* Loading Animation */
.resend-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.resend-loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: resendSpin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes resendSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Form Group Animation */
.resend-input-group {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

    .resend-input-group.hidden {
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
    }
