/**
 * Timer Request Access Page Styles
 * Beautiful, modern, mobile-first design
 */

/* ====== BASE STYLES ====== */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

/* ====== BACKGROUND ANIMATION ====== */
.timer-bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.timer-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.timer-orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #9D3EF5, #7B2CBF);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.timer-orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #00C9FF, #92FE9D);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.timer-orb-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #F093FB, #F5576C);
    top: 50%;
    right: -100px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* ====== MAIN CONTAINER ====== */
.timer-access-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    padding: 2rem 1rem;
    margin: 0 auto;
}

/* ====== LOGO ====== */
.timer-access-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s ease-out;
}

.timer-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 4px 8px rgba(157, 62, 245, 0.3));
}

.timer-logo-icon svg {
    width: 60px;
    height: 60px;
}

.timer-logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #9D3EF5, #7B2CBF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

/* ====== CARD ====== */
.timer-access-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out;
}

/* ====== HEADER ====== */
.timer-access-header {
    text-align: center;
    margin-bottom: 2rem;
}

.timer-access-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
}

.timer-access-subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* ====== FORM ====== */
.timer-access-form {
    margin-bottom: 2rem;
}

.timer-form-group {
    margin-bottom: 1.5rem;
}

.timer-form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.timer-form-label i {
    color: #9D3EF5;
    width: 16px;
}

.timer-required {
    color: #F5576C;
}

.timer-form-input,
.timer-form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
}

.timer-form-input:focus,
.timer-form-textarea:focus {
    outline: none;
    border-color: #9D3EF5;
    box-shadow: 0 0 0 4px rgba(157, 62, 245, 0.1);
}

.timer-form-textarea {
    resize: vertical;
    min-height: 80px;
}

.timer-form-error {
    display: block;
    color: #F5576C;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    min-height: 1rem;
}

/* ====== SUBMIT BUTTON ====== */
.timer-submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #9D3EF5 0%, #7B2CBF 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timer-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(157, 62, 245, 0.3);
}

.timer-submit-btn:active {
    transform: translateY(0);
}

.timer-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.timer-btn-loader {
    display: none;
}

.timer-submit-btn.loading .timer-btn-text {
    display: none;
}

.timer-submit-btn.loading .timer-btn-loader {
    display: inline-block;
}

/* ====== FORM MESSAGES ====== */
.timer-form-message {
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    font-size: 0.875rem;
    animation: fadeIn 0.3s ease-out;
}

.timer-form-message-error {
    background: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FECACA;
}

/* ====== FEATURES PREVIEW ====== */
.timer-features-preview {
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.timer-features-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #666;
    margin: 0 0 1rem 0;
    text-align: center;
}

.timer-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.timer-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #666;
}

.timer-feature-item i {
    color: #10B981;
    font-size: 1rem;
}

/* ====== IMPORTANT NOTES ====== */
.timer-access-notes {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.timer-note-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.875rem 1rem;
    background: #F8F4FF;
    border-left: 3px solid #9D3EF5;
    border-radius: 8px;
}

.timer-note-item:last-child {
    margin-bottom: 0;
}

.timer-note-item i {
    color: #9D3EF5;
    font-size: 1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.timer-note-item p {
    margin: 0;
    font-size: 0.875rem;
    color: #555;
    line-height: 1.5;
}

/* ====== SUCCESS CARD ====== */
.timer-success-card {
    text-align: center;
    padding: 3rem 2rem;
}

.timer-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease-out;
}

.timer-success-icon svg {
    width: 80px;
    height: 80px;
}

.timer-success-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
}

.timer-success-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 2rem 0;
}

.timer-success-text strong {
    color: #9D3EF5;
}

.timer-success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ====== BUTTONS ====== */
.timer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.timer-btn-primary {
    background: linear-gradient(135deg, #9D3EF5 0%, #7B2CBF 100%);
    color: white;
}

.timer-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(157, 62, 245, 0.3);
}

.timer-btn-ghost {
    background: transparent;
    color: #9D3EF5;
    border: 2px solid #9D3EF5;
}

.timer-btn-ghost:hover {
    background: rgba(157, 62, 245, 0.1);
}

/* ====== FOOTER ====== */
.timer-access-footer {
    text-align: center;
    margin-top: 2rem;
    color: #999;
    font-size: 0.875rem;
    animation: fadeIn 0.6s ease-out 0.3s both;
}

.timer-access-footer p {
    margin: 0.5rem 0;
}

.timer-footer-link {
    color: #9D3EF5;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.timer-footer-link:hover {
    color: #7B2CBF;
    text-decoration: underline;
}

.timer-footer-copy {
    color: #ccc;
}

/* ====== ANIMATIONS ====== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ====== MOBILE RESPONSIVE ====== */
@media (max-width: 768px) {
    .timer-access-container {
        padding: 1rem 1rem;
    }

    .timer-access-card {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .timer-access-title {
        font-size: 1.5rem;
    }

    .timer-access-subtitle {
        font-size: 0.875rem;
    }

    .timer-logo-text {
        font-size: 1.5rem;
    }

    .timer-logo-icon svg {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .timer-access-card {
        padding: 1.5rem 1rem;
    }

    .timer-features-list {
        grid-template-columns: 1fr;
    }

    .timer-success-actions {
        flex-direction: column;
        width: 100%;
    }

    .timer-btn {
        width: 100%;
    }
}
