:root {
    --primary-color: #4CAF50;
    --primary-dark: #45a049;
    --secondary-color: #2196F3;
    --accent-color: #FF6B6B;
    --dark-color: #2D3436;
    --light-color: #F5F7FA;
    --gray-color: #858585;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    min-height: 700px;
}

.auth-left {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.logo-container {
    margin-bottom: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo i {
    font-size: 2.5rem;
    color: #FFD700;
}

.logo h1 {
    font-size: 2.2rem;
    font-weight: 700;
}

.logo span {
    color: #FFD700;
    font-weight: 800;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-left: 55px;
}

.features {
    flex: 1;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.feature i {
    font-size: 1.8rem;
    color: #FFD700;
    margin-bottom: 10px;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.feature p {
    opacity: 0.9;
    font-size: 0.9rem;
}

.trial-badge {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: var(--dark-color);
    padding: 12px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    width: fit-content;
    margin-top: auto;
}

.trial-countdown {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    margin-top: 40px;
}

.countdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.countdown-header i {
    color: #FFD700;
    font-size: 1.5rem;
}

.countdown-header h3 {
    font-size: 1.3rem;
}

.trial-features {
    list-style: none;
    margin-bottom: 30px;
}

.trial-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.trial-features li i {
    color: #4CAF50;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.time-unit {
    background: white;
    color: var(--dark-color);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    min-width: 100px;
}

.time-unit .number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    color: var(--primary-color);
}

.time-unit .label {
    font-size: 0.9rem;
    color: var(--gray-color);
    text-transform: uppercase;
}

.auth-right {
    flex: 1;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-form-container {
    max-width: 400px;
    width: 100%;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--gray-color);
}

.auth-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group label i {
    color: var(--primary-color);
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-color);
    cursor: pointer;
    font-size: 1.1rem;
}

.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.strength-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 0%;
    background: var(--accent-color);
    transition: var(--transition);
}

.strength-text {
    font-size: 0.8rem;
    color: var(--gray-color);
    margin-top: 4px;
    display: block;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox input {
    width: auto;
}

.forgot-password {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    margin-bottom: 20px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

/* REMOVED: Google button styles and auth-divider styles */

.auth-link {
    text-align: center;
    margin-top: 20px;
    color: var(--gray-color);
}

.auth-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-link a:hover {
    text-decoration: underline;
}

.error-message {
    background: #FFEBEE;
    color: #C62828;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: 20px;
    display: none;
}

.success-message {
    background: #E8F5E9;
    color: #2E7D32;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: 20px;
    display: none;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 60%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header i {
    font-size: 3rem;
    color: #FFD700;
    margin-bottom: 20px;
}

.modal-header h2 {
    color: var(--dark-color);
    font-size: 1.8rem;
}

.modal-body {
    color: var(--gray-color);
}

.modal-body p {
    margin-bottom: 20px;
    text-align: center;
}

.features-list {
    list-style: none;
    margin: 20px 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 1rem;
}

.features-list li i {
    color: var(--primary-color);
}

.pricing-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 30px 0;
}

.pricing-header h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price span {
    font-size: 1rem;
    color: var(--gray-color);
}

.btn-upgrade {
    width: 100%;
    padding: 18px;
    background: linear-gradient(45deg, #FF6B6B, #FF8E53);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    margin: 20px 0;
}

.btn-upgrade:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.cancel-info {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-top: 10px;
}

.btn-close-modal {
    width: 100%;
    padding: 12px;
    background: transparent;
    color: var(--gray-color);
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-close-modal:hover {
    border-color: var(--gray-color);
    background: #f5f5f5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .auth-left {
        padding: 30px;
    }
    
    .auth-right {
        padding: 30px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .trial-badge {
        margin-top: 20px;
    }
}

/* Annoying modal styles for trial ended */
.annoying-modal {
    animation: pulse 2s infinite, shake 0.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(255, 107, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

@keyframes shake {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    25% { transform: translate(-50%, -50%) rotate(1deg); }
    75% { transform: translate(-50%, -50%) rotate(-1deg); }
}

/* styles/auth.css - Add these styles */

/* Change Password Button */
.btn-change-password {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-change-password:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(106, 17, 203, 0.3);
}

.btn-change-password:active {
    transform: translateY(0);
}

/* Password Input with Toggle */
.password-input {
    position: relative;
}

.password-input input {
    padding-right: 40px;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
}

.toggle-password:hover {
    color: #495057;
}

/* Password Requirements */
.password-requirements {
    color: #6c757d;
    font-size: 12px;
    margin-top: 5px;
    margin-bottom: 15px;
}

/* Error and Success Messages */
.error-message, .success-message {
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
}

.error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.pricing-section {
    margin: 30px 0;
}

.pricing-header {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-header h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.pricing-header p {
    color: #666;
    font-size: 16px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #e9ecef;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.pricing-card.yearly {
    border-color: #667eea;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-card .pricing-header {
    text-align: left;
    margin-bottom: 25px;
}

.pricing-card h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.pricing-card .price {
    font-size: 48px;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
    margin-bottom: 5px;
}

.pricing-card .price span {
    font-size: 18px;
    color: #666;
    font-weight: 400;
}

.pricing-card .billing-note {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.savings-badge {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 5px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.features-list li {
    padding: 8px 0;
    color: #495057;
    display: flex;
    align-items: center;
}

.features-list li i {
    color: #28a745;
    margin-right: 10px;
    font-size: 14px;
}

.btn-upgrade {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.monthly-upgrade {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.yearly-upgrade {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.btn-upgrade:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cancel-info {
    text-align: center;
    font-size: 12px;
    color: #6c757d;
    margin-top: 15px;
    line-height: 1.5;
}

.plan-comparison {
    margin: 40px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.comparison-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    color: #666;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .fa-check {
    color: #28a745;
}

.comparison-table .fa-times {
    color: #dc3545;
}

.trial-note {
    text-align: center;
    padding: 15px;
    background: #e8f4ff;
    border-radius: 8px;
    color: #0066cc;
    font-size: 14px;
    margin-top: 20px;
}

.trial-note i {
    margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        display: block;
        overflow-x: auto;
    }
    
    .pricing-card .price {
        font-size: 36px;
    }
}

/* Add this to your existing styles */
.btn-info {
    background: #17a2b8;
    border-color: #138496;
    color: white;
}

.btn-info:hover:not(:disabled) {
    background: #138496;
    border-color: #0f6674;
}

.btn-info:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quick-end-game {
    position: relative;
}

.quick-end-game::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #ffc107;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}