/**
 * ScortRio - Monetização Pro
 * Estilos Frontend
 */

/* Container Principal */
.scortrio-monetizacao-container {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Estatísticas */
.monet-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.stat-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 2.5em;
    display: block;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2em;
    font-weight: bold;
    color: #667eea;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 0.9em;
    font-weight: 500;
}

.boost-badge {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.boost-badge .stat-icon,
.boost-badge .stat-label {
    color: white;
}

/* Botões de Ação */
.monet-actions {
    display: grid;
    gap: 15px;
}

.monet-btn {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-family: inherit;
    font-size: 16px;
    width: 100%;
}

.monet-btn:hover {
    border-color: #667eea;
    transform: translateX(10px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

.monet-btn:active {
    transform: translateX(8px);
}

.btn-icon {
    font-size: 2.5em;
    flex-shrink: 0;
    line-height: 1;
}

.btn-content {
    flex-grow: 1;
}

.btn-title {
    display: block;
    font-weight: bold;
    font-size: 1.2em;
    color: #333;
    margin-bottom: 5px;
}

.btn-subtitle {
    display: block;
    color: #666;
    font-size: 0.9em;
}

/* Estilos específicos dos botões */
.btn-presente {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.btn-presente:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.btn-gorjeta {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05) 0%, rgba(255, 152, 0, 0.05) 100%);
}

.btn-gorjeta:hover {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 152, 0, 0.1) 100%);
    border-color: #ff9800;
}

.btn-boost {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.05) 0%, rgba(245, 87, 108, 0.05) 100%);
}

.btn-boost:hover {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.1) 0%, rgba(245, 87, 108, 0.1) 100%);
    border-color: #f093fb;
}

/* MODAL */
.monet-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.monet-modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.monet-modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

.monet-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.monet-modal-icon {
    font-size: 4em;
    margin-bottom: 15px;
    line-height: 1;
}

.monet-modal-title {
    font-size: 2em;
    color: #333;
    margin-bottom: 10px;
}

.monet-modal-subtitle {
    color: #666;
    font-size: 1.1em;
}

.monet-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
}

.monet-close:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    transform: rotate(90deg);
}

/* Grid de Opções */
.monet-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.monet-option-card {
    background: #f8f9fa;
    border: 3px solid transparent;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.monet-option-card:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
    transform: translateY(-5px);
}

.monet-option-card.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.monet-option-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
    display: block;
}

.monet-option-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.monet-option-price {
    color: #667eea;
    font-weight: bold;
    font-size: 1.3em;
}

/* Valor Customizado */
.monet-custom-value {
    margin-bottom: 25px;
}

.monet-custom-value label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

.monet-custom-value input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1.1em;
    transition: border-color 0.3s ease;
}

.monet-custom-value input:focus {
    outline: none;
    border-color: #667eea;
}

/* Form Groups */
.monet-form-group {
    margin-bottom: 20px;
}

.monet-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.monet-form-group input,
.monet-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.monet-form-group input:focus,
.monet-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.monet-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Payment Info */
.monet-payment-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
}

.monet-payment-info p {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.95em;
}

.monet-payment-total {
    font-size: 2.5em;
    color: #667eea;
    font-weight: bold;
}

/* Botão Submit */
.monet-btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.monet-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.monet-btn-submit:active {
    transform: translateY(0);
}

.monet-btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

/* Loading */
.monet-loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.monet-loading.show {
    display: block;
}

.monet-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

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

/* Mensagens */
.monet-message {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
}

.monet-message.show {
    display: block;
}

.monet-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.monet-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Responsivo */
@media (max-width: 768px) {
    .monet-stats {
        grid-template-columns: 1fr;
    }

    .monet-options-grid {
        grid-template-columns: 1fr;
    }

    .monet-modal-content {
        padding: 30px 20px;
    }

    .monet-btn {
        padding: 15px;
    }

    .btn-icon {
        font-size: 2em;
    }

    .btn-title {
        font-size: 1.1em;
    }

    .monet-modal-title {
        font-size: 1.5em;
    }

    .monet-payment-total {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .scortrio-monetizacao-container {
        padding: 20px;
    }

    .monet-btn:hover {
        transform: translateX(0);
    }
}
