/* Popup Overlay */
.alumbra-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

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

/* Popup Content */
.alumbra-popup-content {
    filter: hue-rotate(-27deg);
    background: linear-gradient(to bottom,#008838,#00b436);
    background-image: url('../assets/img/background_popup_sellers.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    border-radius: 14px;
    padding: 50px 40px;
    max-width: 900px;
    width: 100%;
    height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* Close Button */
.alumbra-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 300;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    z-index: 10;
}

.alumbra-popup-close:hover {
    color: #fff;
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

/* Popup Title */
.alumbra-popup-content h2 {
    margin: 0 0 40px 0;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

/* Supplier List */
.alumbra-supplier-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.alumbra-supplier-item {
    padding: 30px 25px;
    border: 1px solid #23ccb5;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #005145;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #07ffdd;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.alumbra-supplier-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #005145, #005145);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.alumbra-supplier-item:hover {
    border-color: #005145;
    background: linear-gradient(135deg, #007462 0%, #007462 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px #005145;
}

.alumbra-supplier-item:hover::before {
    transform: scaleX(1);
}

.alumbra-supplier-item.selected {
    border-color: #0073aa;
    background: linear-gradient(135deg, #0073aa 0%, #00a0d6 100%);
    color: #fff;
    box-shadow: 0 12px 32px rgba(0, 115, 170, 0.35);
    transform: translateY(-4px) scale(1.02);
}

.alumbra-supplier-item.selected::before {
    transform: scaleX(1);
    background: rgba(255, 255, 255, 0.3);
    height: 100%;
    opacity: 0.1;
}

.alumbra-supplier-note {
    text-align: center;
  color: #e6fff7;
  font-size: 20px;
  line-height: 1.4;
  opacity: 0.9;
  width: 49%;
  margin: 80px auto;
}

/* Popup de Ação - Layout Dividido */
.alumbra-action-popup-content {
    background: #fff;
    border-radius: 14px;
    padding: 0;
    max-width: 1000px;
    width: 100%;
    height: 90vh;
    max-height: 600px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
}

.alumbra-action-popup-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Seção Esquerda (Verde) */
.alumbra-action-left {
    flex: 1;
    background: linear-gradient(to bottom, #008838, #00b436);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    position: relative;
}

.alumbra-action-left h2 {
    margin: 0 0 20px 0;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    text-align: left;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.alumbra-action-left p {
    margin: 0 0 40px 0;
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
    opacity: 0.95;
}

/* Seção Direita (Branca) */
.alumbra-action-right {
    flex: 1;
    padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  background-image: url('../assets/img/popup_right.jpg');
  background-size: contain;
  background-position: top right;
  background-repeat: no-repeat;
  background-color: #f7f7f7;
}

.alumbra-action-logo {
    width: 100%;
    text-align: right;
    margin-bottom: 20px;
}

.alumbra-action-logo img {
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
}

.alumbra-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #ff691f;
    text-align: right;
    letter-spacing: 1px;
}

.alumbra-action-illustration {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Overlay para melhorar legibilidade do logo se necessário */
.alumbra-action-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.alumbra-action-logo {
    position: relative;
    z-index: 2;
}

/* Action Buttons */
.alumbra-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 0;
    width: 100%;
}

.alumbra-btn {
    padding: 18px 40px;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    text-decoration: none;
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.alumbra-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.alumbra-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Botões no popup de ação */
.alumbra-action-left .alumbra-btn-primary {
    background: #008838;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 136, 56, 0.4);
    border: none;
}

.alumbra-action-left .alumbra-btn-primary:hover {
    background: #00b436;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 136, 56, 0.5);
}

.alumbra-action-left .alumbra-btn-primary:active {
    transform: translateY(-1px);
}

.alumbra-action-left .alumbra-btn-secondary {
    background: #ff691f;
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(255, 105, 31, 0.4);
}

.alumbra-action-left .alumbra-btn-secondary:hover {
    background: #c44100;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 105, 31, 0.5);
}

.alumbra-action-left .alumbra-btn-secondary:active {
    transform: translateY(-1px);
}

/* Botões padrão (para outros popups) */
.alumbra-btn-primary {
    background: linear-gradient(135deg, #0073aa 0%, #00a0d6 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 115, 170, 0.3);
}

.alumbra-btn-primary:hover {
    background: linear-gradient(135deg, #005a87 0%, #0073aa 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 115, 170, 0.4);
}

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

.alumbra-btn-secondary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #2c3e50;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.alumbra-btn-secondary:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: #c0c0c0;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

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

.alumbra-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Scrollbar personalizado */
.alumbra-popup-content::-webkit-scrollbar {
    width: 8px;
}

.alumbra-popup-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.alumbra-popup-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0073aa, #00a0d6);
    border-radius: 10px;
}

.alumbra-popup-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #005a87, #0073aa);
}

/* Responsive */
@media (max-width: 768px) {
    .alumbra-popup-overlay {
        padding: 10px;
    }
    
    .alumbra-popup-content {
        padding: 35px 25px;
        width: 100%;
        border-radius: 20px;
    }
    
    .alumbra-popup-content h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .alumbra-supplier-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .alumbra-supplier-item {
        padding: 24px 20px;
        font-size: 16px;
    }
    
    .alumbra-btn {
        padding: 16px 30px;
        font-size: 16px;
    }
    
    .alumbra-popup-close {
        width: 36px;
        height: 36px;
        top: 15px;
        right: 15px;
        font-size: 20px;
    }
    
    /* Popup de ação responsivo */
    .alumbra-action-popup-content {
        flex-direction: column;
        height: auto;
        max-height: 90vh;
    }
    
    .alumbra-action-popup-wrapper {
        flex-direction: column;
    }
    
    .alumbra-action-left {
        padding: 40px 30px;
        min-height: 50vh;
    }
    
    .alumbra-action-left h2 {
        font-size: 28px;
    }
    
    .alumbra-action-left p {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .alumbra-action-right {
        padding: 30px 20px;
        min-height: 40vh;
    }
    
    .alumbra-action-illustration {
        max-width: 250px;
    }
    
    .alumbra-logo-text {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .alumbra-popup-content {
        padding: 30px 20px;
    }
    
    .alumbra-popup-content h2 {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .alumbra-supplier-item {
        padding: 20px 18px;
        font-size: 15px;
    }
}

