.passport-container {
    padding: 20px 0;
    max-width: 100%;
}

.passport-container .container {
    padding: 0 15px;
    width: 100%;
    
}

.passport-history-container {
    padding: 0px 0;
    max-width: 100%;
}

.passport-history {
    width:100%;
    box-sizing: border-box;
}

.passport-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #303030;
}

.passport-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #303030;
}

.passport-logo {
    width: 80px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
}

.passport-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.passport-title {
    flex: 1;
}

.passport-title h2 {
    font-size: 24px;
    font-weight: 700;
    color: #feaf50;
    margin-bottom: 5px;
}

.passport-title p {
    font-size: 14px;
    color: #ccc;
    margin: 0;
}

.passport-status {
    background-color: #252525;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.passport-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 5px;
}

.passport-status.active::before {
    background-color: #5DCB65;
}

.passport-status.expiring-soon::before {
    background-color: #FFC107;
}

.passport-status.expired::before {
    background-color: #F44336;
}

/* Lifecycle states */
.passport-status.lifecycle-flow::before {
    background-color: #5DCB65;
}

.passport-status.lifecycle-twilight::before {
    background-color: #FFB347;
}

.passport-status.lifecycle-paused::before {
    background-color: #ff6b6b;
}

.passport-status.lifecycle-uninitiated::before {
    background-color: #feaf50;
}

.passport-status h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.status-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.status-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    flex-shrink: 0;
}

.status-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.status-icon.active {
    background-color: rgba(76, 175, 80, 0.3);
}

.status-icon.active::before {
    background-color: #5DCB65;
}

.status-icon.expiring-soon {
    background-color: rgba(255, 193, 7, 0.3);
}

.status-icon.expiring-soon::before {
    background-color: #FFC107;
}

.status-icon.expired {
    background-color: rgba(244, 67, 54, 0.3);
}

.status-icon.expired::before {
    background-color: #F44336;
}

/* Uninitiated state icon */
.status-icon.uninitiated {
    background-color: rgba(254, 175, 80, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon.uninitiated i {
    color: #feaf50;
    font-size: 14px;
}

/* Twilight state icon */
.status-icon.twilight {
    background-color: rgba(255, 179, 71, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon.twilight i {
    color: #FFB347;
    font-size: 14px;
}

/* Paused state icon */
.status-icon.paused {
    background-color: rgba(255, 107, 107, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon.paused i {
    color: #ff6b6b;
    font-size: 14px;
}

.status-text {
    font-size: 18px;
    font-weight: 600;
}

.status-text.active {
    color: #5DCB65;
}

.status-text.expiring-soon {
    color: #FFC107;
}

.status-text.expired {
    color: #F44336;
}

.status-text.uninitiated {
    color: #feaf50;
}

.status-text.twilight {
    color: #FFB347;
}

.status-text.paused {
    color: #ff6b6b;
}

.passport-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.detail-card {
    background-color: #252525;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #333;
}

.detail-label {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 8px;
}

.detail-value {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.passport-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.passport-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 18px;
    background-color: #feaf50;
    color: #000;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.passport-button:hover {
    background-color: #e09d45;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.passport-button i {
    margin-right: 8px;
}

.passport-button.outline {
    background-color: transparent;
    border: 1px solid #feaf50;
    color: #feaf50;
}

.passport-button.outline:hover {
    background-color: rgba(254, 175, 80, 0.1);
}

.passport-button.danger {
    background-color: #F44336;
    color: white;
}

.passport-button.danger:hover {
    background-color: #d32f2f;
}


.history-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #303030;
}

.history-list {
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
}

.history-item {
    padding: 18px 25px;
    border-bottom: 1px solid #303030;
    display: flex;
    align-items: center;
}

.history-item:last-child {
    border-bottom: none;
}

.history-icon {
    margin-right: 18px;
    width: 40px;
    height: 40px;
    font-size: 20px;
    border-radius: 50%;
    background-color: #252525;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #feaf50;
    flex-shrink: 0;
}

.history-content {
    flex: 1;
    min-width: 0;
}

.history-content p {
    margin: 0;
    color: #e0e0e0;
    font-size: 15px;
}

.history-date {
    font-size: 13px; 
    color: #aaa;
    margin-top: 5px;
}

/* Estilos para semáforo alternativos */
.status-traffic-light {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.traffic-light {
    width: 60px;
    height: 22px;
    background-color: #252525;
    border-radius: 11px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 3px;
}

.light {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #333;
}

.light.red {
    opacity: 0.3;
}

.light.yellow {
    opacity: 0.3;
}

.light.green {
    opacity: 0.3;
}

.status-active .light.green {
    background-color: #5DCB65;
    opacity: 1;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.status-expiring-soon .light.yellow {
    background-color: yellow;
    opacity: 1;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.status-expired .light.red {
    background-color: #F44336;
    opacity: 1;
    box-shadow: 0 0 10px rgba(244, 67, 54, 0.5);
}

.passport-badges {
    display: flex;
    margin-top: 15px;
    gap: 10px;
    flex-wrap: wrap;
}

.passport-badge {
    background-color: #303030;
    color: white;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.passport-badge.premium {
    background-color: #feaf50;
    color: black;
}

.passport-badge a {
    color: white;
    text-decoration: none;
}

/* Best Week Opportunity Card */
.best-week-opportunity {
    background: linear-gradient(135deg, rgba(254, 175, 80, 0.1) 0%, rgba(254, 175, 80, 0.05) 100%);
    border: 1px solid rgba(254, 175, 80, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.opportunity-icon {
    font-size: 32px;
    flex-shrink: 0;
    line-height: 1;
}

.opportunity-content {
    flex: 1;
}

.opportunity-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #feaf50;
    margin: 0 0 8px 0;
}

.opportunity-content p {
    font-size: 14px;
    color: #ccc;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.opportunity-content strong {
    color: #feaf50;
}

.opportunity-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    background-color: #feaf50;
    color: #000;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.opportunity-cta:hover {
    background-color: #e09d45;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(254, 175, 80, 0.3);
}

.opportunity-cta i {
    margin-right: 6px;
}

/* Ajustes responsivos adicionais */
@media (max-width: 768px) {
    
    .passport-status {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .passport-details {
        gap: 10px;
        grid-template-columns: 1fr;
    }

    .detail-card {
        padding: 10px;
    }

    .status-text {
        font-size: 16px;
    }
    
    .detail-card {
        padding: 10px;
    }
    
    .detail-value {
        font-size: 16px;
    }
    
    .history-item {
        padding: 12px 15px;
    }
    
    .history-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
        margin-right: 10px;
    }
    
    .passport-actions {
        flex-direction: column;
    }
    
    .passport-button {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }

    .passport-header {
        flex-direction: column;
        text-align: center;
    }
    
    .passport-logo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .passport-actions {
        flex-direction: column;
    }

    .passport-card {
        border-radius: 0;
        margin-bottom: 15px;
        padding: 15px 10px;
    }

    .best-week-opportunity {
        flex-direction: column;
        padding: 15px;
    }

    .opportunity-icon {
        font-size: 28px;
    }

    .opportunity-content h4 {
        font-size: 15px;
    }

    .opportunity-content p {
        font-size: 13px;
    }

    .opportunity-cta {
        width: 100%;
        justify-content: center;
        font-size: 12px;
        padding: 10px 12px;
    }

}

@media (max-width: 576px) {
    .passport-badges {
        display: flex;
        flex-direction: column; /* Altera de row (padrão) para column */
        align-items: flex-start; /* Alinha ao início */
        gap: 8px; /* Espaçamento reduzido entre os itens */
    }
    
    .passport-badge {
        width: 100%; /* Garante que ocupem toda a largura disponível */
    }
}