/* Modern Manage Subscription Styles */

/* Icons using CSS and Bootstrap Icons as alternatives */
.icon-user-edit::before { content: "??"; }
.icon-credit-card::before { content: "??"; }
.icon-paper-plane::before { content: "??"; }
.icon-chart-line::before { content: "??"; }
.icon-discord::before { content: "??"; }
.icon-external-link::before { content: "??"; }
.icon-info-circle::before { content: "??"; }
.icon-shield::before { content: "???"; }
.icon-check::before { content: "?"; }
.icon-warning::before { content: "??"; }

.main-header {
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 10%;
}


.main-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #DEB992, #F5E6D3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: white; /* Fallback for browsers that don't support background-clip */
}

.main-header p {
    color: #b0b0b0;
    font-size: 1.1rem;
}

.section-card {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(222, 185, 146, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #DEB992, #F5E6D3, #DEB992);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.section-card:hover {
     transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(222, 185, 146, 0.15);
    border-color: rgba(222, 185, 146, 0.4);
    /* FORÇAR TRANSIÇÃO NO HOVER TAMBÉM */
    transition: transform 0.4s ease,
                box-shadow 0.4s ease,
                border-color 0.4s ease !important;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.section-icon {
    background: linear-gradient(135deg, #DEB992, #F5E6D3);
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #151617;
    font-size: 1.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.section-subtitle {
    color: #b0b0b0;
    margin-top: 0.25rem;
}

.form-step {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-step.hidden {
    opacity: 0;
    transform: translateX(-20px);
    display: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #DEB992;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: #DEB992;
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 4px rgba(222, 185, 146, 0.1);
}

.form-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.btn-primary {
    background: linear-gradient(135deg, #DEB992, #F5E6D3);
    color: #151617;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(222, 185, 146, 0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: transparent;
    color: #DEB992;
    border: 2px solid #DEB992;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: #DEB992;
    color: #151617;
    transform: translateY(-2px);
}

.verification-inputs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.success-message, .error-message {
    padding: 1rem;
    border-radius: 12px;
    margin: 1rem 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.success-message {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4CAF50;
}

.error-message {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-pending {
    background: rgba(255, 193, 7, 0.1);
    color: #FFC107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid #DEB992;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(222, 185, 146, 0.3), transparent);
    margin: 2rem 0;
}

.help-text {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .main-header h1 {
        font-size: 2rem;
    }
    
    .section-card {
        padding: 1.5rem;
    }
    
    .verification-inputs {
        grid-template-columns: 1fr;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .btn-primary {
        width: 100%;
        justify-content: center;
        margin-right: 0;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }
}

/* Integration with existing theme */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .section-icon {
        margin-right: 0;
    }
}
@media (max-width: 768px) {
  .main-header { margin-top: 20vh; }
}