/* Estilos premium para WooCommerce Ticket Manager (Público) */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

.wctm-recovery-wrapper,
.wctm-recovery-wrapper * {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    box-sizing: border-box;
}

.wctm-recovery-wrapper {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    color: #0f172a;
}

/* Glassmorphism Card Style */
.wctm-glass {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 8px 15px -6px rgba(0, 0, 0, 0.03);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.wctm-card {
    max-width: 460px;
    margin: 0 auto;
    padding: 45px 35px;
    text-align: center;
}

.wctm-card h2 {
    font-size: 28px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 12px;
    color: #0f172a;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.wctm-card p {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Form Styles */
.wctm-form-group {
    text-align: left;
    margin-bottom: 24px;
}

.wctm-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wctm-form-group input[type="email"],
.wctm-form-group input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background-color: #ffffff;
    color: #0f172a;
    transition: all 0.2s ease;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.wctm-form-group input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* Buttons */
.wctm-btn {
    display: block;
    width: 100%;
    padding: 15px 24px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff !important;
    background: #2563eb !important;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.12), 0 2px 4px -1px rgba(37, 99, 235, 0.08);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    text-shadow: none;
}

.wctm-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.18), 0 4px 6px -2px rgba(37, 99, 235, 0.08);
    background: #1d4ed8 !important;
    color: #ffffff !important;
}

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

/* Alerts */
.wctm-alert {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
}

.wctm-alert-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

/* Tickets Grid */
.wctm-tickets-container {
    text-align: center;
}

.wctm-tickets-container h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.wctm-tickets-container > p {
    color: #64748b;
    margin-bottom: 40px;
}

.wctm-tickets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-content: center;
}

/* Ticket Card Stylings (looks like a ticket stub) */
.wctm-ticket-card {
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Ticket tear cutouts on the sides */
.wctm-ticket-card::before,
.wctm-ticket-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #f8fafc; /* Matches outer background color */
    border-radius: 50%;
    top: 60px;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.02);
}

.wctm-ticket-card::before {
    left: -10px;
}

.wctm-ticket-card::after {
    right: -10px;
}

.wctm-ticket-header {
    padding: 24px 20px 15px 20px;
    background: rgba(30, 41, 59, 0.03);
    border-bottom: 2px dashed rgba(30, 41, 59, 0.1);
    text-align: center;
}

.wctm-ticket-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000000 !important;
    margin: 0;
}

.wctm-ticket-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wctm-qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.wctm-qr-img {
    width: 140px;
    height: 140px;
    padding: 8px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 8px;
}

.wctm-ticket-code {
    font-size: 13px;
    font-family: monospace;
    color: #64748b;
    font-weight: 600;
}

.wctm-ticket-details {
    width: 100%;
    text-align: left;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

.wctm-ticket-details p {
    font-size: 13px;
    margin: 6px 0;
    color: #334155;
}

.wctm-ticket-details p strong {
    color: #475569;
}

.wctm-ticket-footer {
    padding: 20px;
    background-color: rgba(30, 41, 59, 0.02);
}

.wctm-btn-download {
    padding: 12px;
    font-size: 14px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.wctm-btn-download:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.wctm-helper-link {
    font-size: 13px;
    margin-top: 20px;
}

.wctm-helper-link a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.wctm-helper-link a:hover {
    text-decoration: underline;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .wctm-tickets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .wctm-card {
        padding: 30px 20px;
    }
    
    .wctm-tickets-grid {
        grid-template-columns: 1fr;
    }
}
