/* Adições ao style-login.css para o tema Netflix */

/* No Plan Screen Styles */
.no-plan-container {
    margin-top: 20px;
    padding: 0;
    border: none;
    background: transparent;
    animation: fadeIn 0.8s ease-out;
}

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-gif-container {
    text-align: center;
    margin-bottom: 25px;
}

.hero-gif-container img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    border: 2px solid #e50914;
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
    transition: transform 0.3s ease;
}

.hero-gif-container img:hover {
    transform: scale(1.02);
}

.welcome-message {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #e50914;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
}

.welcome-message h3 {
    color: #fff;
    margin-top: 0;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.welcome-message p {
    color: #ddd;
    line-height: 1.6;
    font-size: 1.05rem;
    margin: 0;
}

.section-title {
    color: #e50914;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tutorial-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.tutorial-card {
    text-decoration: none;
    color: #fff;
    padding: 15px;
    background: #222;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
}

.tutorial-card:hover {
    background: #2a2a2a;
    border-color: #e50914;
    transform: translateX(5px);
    box-shadow: -5px 5px 15px rgba(0,0,0,0.3);
}

.tutorial-card .card-content {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1;
}

.tutorial-card .watch-btn {
    background: #e50914;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.tutorial-card:hover .watch-btn {
    background: #f40612;
}

.features-box {
    margin-bottom: 30px;
    background: #181818;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.features-list {
    color: #ccc;
    list-style: none;
    padding-left: 0;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.feature-item {
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 3px solid #e50914;
    transition: padding-left 0.2s;
}

.feature-item:hover {
    padding-left: 20px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.cta-section {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    border-radius: 12px;
}

.cta-text {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Enhanced CTA Button */
.cta-button {
    background: linear-gradient(135deg, #e50914 0%, #b20710 100%);
    color: white;
    font-weight: 800;
    letter-spacing: 1.5px;
    width: 100%;
    padding: 18px;
    font-size: 1.2rem;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(229, 9, 20, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(229, 9, 20, 0);
    }
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 9, 20, 0.6);
    background: linear-gradient(135deg, #f40612 0%, #d30812 100%);
}

.cta-button:active {
    transform: translateY(1px);
}

/* Enhanced Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 20px;
}

/* Professional Plan Cards */
.plan-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.plan-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Popular Badge */
.popular-plan {
    border: 2px solid rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.15);
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #6366f1;
    color: white;
    padding: 5px 15px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
    letter-spacing: 1px;
}

/* Plan Header */
.plan-header {
    padding: 40px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    /* clip-path: ellipse(150% 100% at 50% 0%); */ /* Removed clip-path for cleaner look */
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.plan-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.4s ease;
}

.plan-card:hover .plan-icon {
    transform: scale(1.1) rotate(5deg);
}

.plan-icon svg {
    width: 36px;
    height: 36px;
    fill: #fff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.plan-title {
    font-weight: 800;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Plan Body */
.plan-body {
    padding: 30px 25px 40px;
    /* background: linear-gradient(180deg, rgba(24, 24, 24, 0.5) 0%, rgba(10, 10, 10, 0.8) 100%); */
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    flex: 1;
}

/* Features */
.plan-features {
    color: #d4d4d4;
    font-size: 0.95rem;
    font-weight: 400;
    margin: 4px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.plan-features:last-of-type {
    border-bottom: none;
    margin-bottom: 15px;
}

.plan-features span {
    color: #10b981; /* Default Check Color */
    font-weight: bold;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
}

/* Price */
.plan-price {
    color: #fff;
    font-weight: 700;
    font-size: 2.8rem;
    margin: 10px 0 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-family: 'Segoe UI', sans-serif;
    letter-spacing: -1px;
}

.plan-price span {
    font-size: 1rem;
    color: #a3a3a3;
    font-weight: 400;
    margin-left: 5px;
    letter-spacing: normal;
}

/* Themes - Elegant Gradients (Less Strong/Neon) */

/* Basic - Deep Teal */
.theme-basic .plan-header {
    background: radial-gradient(circle at top, rgba(13, 148, 136, 0.3) 0%, rgba(20, 20, 20, 0) 70%);
}
.theme-basic .plan-icon { background: linear-gradient(135deg, #0f766e 0%, #115e59 100%); border-color: #2dd4bf; }
.theme-basic .netflix-btn { 
    background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%); 
    box-shadow: 0 10px 20px -10px rgba(13, 148, 136, 0.5);
}
.theme-basic .netflix-btn:hover { background: linear-gradient(135deg, #115e59 0%, #0f766e 100%); }

/* Standard - Deep Indigo */
.theme-standard .plan-header {
    background: radial-gradient(circle at top, rgba(79, 70, 229, 0.3) 0%, rgba(20, 20, 20, 0) 70%);
}
.theme-standard .plan-icon { background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%); border-color: #818cf8; }
.theme-standard .netflix-btn { 
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    box-shadow: 0 10px 20px -10px rgba(79, 70, 229, 0.5);
}
.theme-standard .netflix-btn:hover { background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%); }

/* Gold - Deep Amber */
.theme-gold .plan-header {
    background: radial-gradient(circle at top, rgba(217, 119, 6, 0.3) 0%, rgba(20, 20, 20, 0) 70%);
}
.theme-gold .plan-icon { background: linear-gradient(135deg, #b45309 0%, #78350f 100%); border-color: #fbbf24; }
.theme-gold .plan-title { color: #fbbf24; }
.theme-gold .netflix-btn { 
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 10px 20px -10px rgba(217, 119, 6, 0.5);
}
.theme-gold .netflix-btn:hover { background: linear-gradient(135deg, #b45309 0%, #d97706 100%); }

/* Diamond - Deep Rose/Ruby */
.theme-diamond .plan-header {
    background: radial-gradient(circle at top, rgba(225, 29, 72, 0.3) 0%, rgba(20, 20, 20, 0) 70%);
}
.theme-diamond .plan-icon { background: linear-gradient(135deg, #be123c 0%, #881337 100%); border-color: #fb7185; }
.theme-diamond .plan-title { color: #fb7185; }
.theme-diamond .netflix-btn { 
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    box-shadow: 0 10px 20px -10px rgba(225, 29, 72, 0.5);
}
.theme-diamond .netflix-btn:hover { background: linear-gradient(135deg, #be123c 0%, #e11d48 100%); }

/* Subscribe Button Base */
.netflix-btn {
    color: white;
    border: none;
    padding: 18px 0;
    width: 100%;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    margin-top: auto;
    border: 1px solid rgba(255,255,255,0.1);
}

.netflix-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.2);
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.5);
}

/* Dashboard Menu Grid - Professional Compact Look */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.menu-card {
    background: linear-gradient(145deg, #1a1a1a, #222);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    flex-direction: row; /* Horizontal layout */
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: auto; /* Remove huge height */
    position: relative;
    overflow: hidden;
}

.menu-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    background: #2a2a2a;
    border-color: #444;
}

.menu-card svg {
    width: 24px; /* Smaller icons */
    height: 24px;
    margin-bottom: 0;
    margin-right: 15px; /* Spacing between icon and text */
    transition: transform 0.3s;
    flex-shrink: 0;
}

.menu-card:hover svg {
    transform: scale(1.1) rotate(5deg);
}

.menu-card span {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #e0e0e0;
    letter-spacing: 0.5px;
}

/* Card Specific Colors (Left Border Accent instead of Bottom) */
.card-travazap { 
    border-bottom: none;
    border-left: 3px solid #e50914; 
}
.card-travazap svg { fill: #e50914; }

.card-discovery { 
    border-bottom: none;
    border-left: 3px solid #4CAF50; 
}
.card-discovery svg { fill: #4CAF50; }

.card-mass { 
    border-bottom: none;
    border-left: 3px solid #777; 
}
.card-mass svg { fill: #777; }

.card-affiliate { 
    border-bottom: none;
    border-left: 3px solid #777; 
}
.card-affiliate svg { fill: #777; }

.card-disabled { 
    opacity: 0.5; 
    cursor: not-allowed; 
    filter: grayscale(100%);
}

/* Success Overlay - Progressive Loading & Natural Feel */
#success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient for a more natural look */
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    
    /* Initial State for Animation */
    opacity: 0;
    visibility: hidden;
    /* Start as a small dot in center */
    clip-path: circle(0% at 50% 50%);
    
    /* Smooth transitions */
    transition: opacity 0.3s ease, clip-path 1s cubic-bezier(0.4, 0, 0.2, 1);
}

#success-overlay.visible {
    opacity: 1;
    visibility: visible;
    /* Expand to fill screen */
    clip-path: circle(150% at 50% 50%);
}

.checkmark-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    
    /* Pop in animation */
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-delay: 0.3s; /* Wait for green screen to start expanding */
}

#success-overlay.visible .checkmark-circle {
    transform: scale(1);
}

.checkmark {
    width: 50px;
    height: 50px;
}

/* Drawing Animation for Checkmark */
.checkmark path {
    stroke: #4CAF50;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    
    /* Setup for draw animation */
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
}

#success-overlay.visible .checkmark path {
    animation: drawCheck 0.8s 0.8s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

@keyframes drawCheck {
    100% {
        stroke-dashoffset: 0;
    }
}

.success-message {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: 1s; /* Show text last */
}

#success-overlay.visible .success-message {
    opacity: 1;
    transform: translateY(0);
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Blur effect for dashboard when payment is processing */

/* Payment History Items */
.payment-item {
    background: linear-gradient(145deg, #1f1f1f, #252525);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.payment-item:hover {
    transform: translateY(-2px);
    border-color: #444;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    background: #2a2a2a;
}

.payment-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #4CAF50;
    opacity: 0.7;
}

.payment-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(76, 175, 80, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4CAF50;
    flex-shrink: 0;
}

.payment-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.payment-plan-name {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.payment-date {
    color: #aaa;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.payment-amount {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 4px;
}

.payment-amount .currency {
    font-size: 0.8rem;
    color: #4CAF50;
    font-weight: 600;
}

.payment-status-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.15);
    padding: 4px 8px;
    border-radius: 20px;
    border: 1px solid rgba(76, 175, 80, 0.2);
    margin-left: 10px;
}

/* Responsividade para pagamentos */
@media (max-width: 600px) {
    .payment-item {
        flex-wrap: wrap;
    }
    
    .payment-status-badge {
        order: -1;
        margin-left: auto;
        margin-bottom: 5px;
    }
    
    .payment-amount {
        margin-left: auto;
    }
}
.blur-content {
    filter: blur(5px);
    pointer-events: none;
}

/* WhatsApp Connection UI */
.whatsapp-connect-card {
    background: linear-gradient(145deg, #0f2027, #203a43, #2c5364);
    border: 1px solid #4CAF50;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    margin-top: 15px;
    text-align: center;
}

.whatsapp-connect-card h3 {
    color: #4CAF50;
    font-size: 1.2rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.whatsapp-connect-card p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.whatsapp-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 10px;
}

.status-connected {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.status-disconnected {
    background-color: rgba(229, 9, 20, 0.2);
    color: #e50914;
    border: 1px solid #e50914;
}

.input-with-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.input-with-icon-wrapper svg {
    position: absolute;
    left: 15px;
    width: 24px;
    height: 24px;
    fill: #777;
    transition: fill 0.3s, transform 0.3s;
    z-index: 2;
}

.input-with-icon-wrapper input {
    width: 100%;
    padding: 15px 15px 15px 50px;
    background: #000;
    border: 1px solid #333;
    border-radius: 6px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-with-icon-wrapper input:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.input-with-icon-wrapper input:focus + svg,
.input-with-icon-wrapper input:not(:placeholder-shown) + svg {
    fill: #4CAF50;
    transform: scale(1.1);
}

.whatsapp-icon-svg {
    fill: #25D366 !important;
}

.pairing-code-box {
    background: #000;
    border: 2px dashed #4CAF50;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
}

.pairing-code-text {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 8px;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.instruction-list {
    text-align: left;
    margin-top: 20px;
    padding: 0 20px;
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
}

.instruction-list ol {
    margin: 0;
    padding-left: 20px;
}

.instruction-list li {
    margin-bottom: 8px;
}

/* Status Text Styling */
#whatsapp-content p {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 4px;
    border-left: 4px solid #4CAF50;
    color: #fff !important; /* Force white text */
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Animation for loading status */
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.status-connecting {
    animation: pulse-green 2s infinite;
    border-color: #ff9800 !important;
}


