
/* Bluba Integra Theme Overrides */
:root {
    --primary-color: #004d6b; /* Azul */
    --secondary-color: #99cae8; /* Celeste */
    --tertiary-color: #ddeef9; /* Nube */
}

/* ========================================
   Message Center - Ticket Creation Styles
   ======================================== */

/* Empty State Icon */
.empty-state-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    margin: 0 auto;
}

.empty-state-icon i {
    font-size: 3.5rem;
    color: white;
}

/* Info Cards */
.info-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 77, 107, 0.15);
    transform: translateY(-5px);
}

.info-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin: 0 auto;
}

.info-card-icon i {
    font-size: 1.75rem;
    color: white;
}

/* Empty State Container */
.empty-state-tickets {
    max-width: 900px;
    margin: 0 auto;
}

/* CTA Button Hover Effect */
.btn-primary.btn-lg:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 77, 107, 0.3);
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .empty-state-icon {
        width: 90px;
        height: 90px;
    }
    
    .empty-state-icon i {
        font-size: 2.5rem;
    }
    
    .info-card-icon {
        width: 50px;
        height: 50px;
    }
    
    .info-card-icon i {
        font-size: 1.5rem;
    }
}

/* ========================================
   Select Center Page Styles
   ======================================== */

.select-center-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
}

.select-center-header {
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

.header-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.header-icon-large {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header-icon-large i {
    font-size: 1.75rem;
    color: white;
}

.header-title-large {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.header-subtitle-large {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.search-box-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1rem;
}

.search-input {
    width: 100%;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.search-input::placeholder {
    color: #94a3b8;
}

.clear-search {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: #ef4444;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-search:hover {
    background: #dc2626;
    transform: translateY(-50%) scale(1.1);
}

.clear-search i {
    font-size: 0.75rem;
}

.centers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.center-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.center-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.center-card-selected {
    border: 3px solid var(--primary-color);
    box-shadow: 0 15px 35px rgba(0, 77, 107, 0.3);
}

.center-card-selected:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 77, 107, 0.4);
}

.center-card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.center-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(0, 77, 107, 0.3);
}

.center-icon i {
    font-size: 1.5rem;
    color: white;
}

.center-check-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.3s ease;
}

.center-check-badge i {
    font-size: 1rem;
    color: white;
}

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

.center-card-body {
    padding: 1.25rem;
}

.center-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.875rem;
    line-height: 1.3;
}

.center-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-item {
    display: flex;
    align-items: center;
    color: #64748b;
    font-size: 0.938rem;
}

.detail-item i {
    color: var(--primary-color);
}

.center-card-footer {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.select-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
}

.center-card-selected .select-label {
    color: var(--primary-color);
}

.continue-button-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.btn-continue {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0.875rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-continue:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

.btn-continue:active {
    transform: translateY(-1px);
}

.error-state {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.error-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-icon i {
    font-size: 1.75rem;
    color: white;
}

.error-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.error-message {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1.75rem;
}

.btn-back {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 0.875rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 77, 107, 0.3);
    transition: all 0.3s ease;
}

.btn-back:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 77, 107, 0.4);
    color: white;
}

/* Responsive - Select Center */
@media (max-width: 768px) {
    .select-center-container {
        padding: 1.5rem 1rem;
    }

    .header-title-large {
        font-size: 1.5rem;
    }

    .header-subtitle-large {
        font-size: 0.938rem;
    }

    .centers-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .center-card-header {
        padding: 1.25rem;
    }

    .center-icon {
        width: 45px;
        height: 45px;
    }

    .center-icon i {
        font-size: 1.25rem;
    }

    .center-name {
        font-size: 1rem;
    }

    .btn-continue {
        padding: 0.75rem 2rem;
        font-size: 0.938rem;
    }

    .error-state {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .header-title-large {
        font-size: 1.375rem;
    }

    .header-icon-large {
        width: 50px;
        height: 50px;
    }

    .header-icon-large i {
        font-size: 1.5rem;
    }

    .search-input {
        font-size: 0.938rem;
        padding: 0.75rem 2.5rem 0.75rem 2.75rem;
    }

    .centers-grid {
        gap: 1rem;
    }
}