/* ===============================================
   SELLER UPGRADE - CUSTOMER A SELLER STYLES
   =============================================== */

/* ================= HEADER BANNER ================= */
.seller_upgrade_header {
    margin-bottom: 3rem;
}

.seller_upgrade_banner {
    background: rgba(30, 30, 46, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    min-height: 350px;
}

.seller_upgrade_banner_bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    opacity: 0.1;
}

.seller_upgrade_banner_bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="30" stroke="rgba(255,255,255,0.05)" stroke-width="2" fill="none"/></svg>');
    animation: float 20s infinite linear;
}

@keyframes float {
    to {
        transform: translateY(-100px);
    }
}

.seller_upgrade_banner_content {
    position: relative;
    padding: 4rem 2rem;
    text-align: center;
}

.seller_upgrade_icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(6, 182, 212, 0.4);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.seller_upgrade_icon svg {
    color: white;
}

.seller_upgrade_title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #06b6d4, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.seller_upgrade_subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ================= BENEFITS ================= */
.seller_upgrade_benefits {
    margin-bottom: 3rem;
}

.seller_upgrade_section_title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
}

.seller_upgrade_benefits_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .seller_upgrade_benefits_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .seller_upgrade_benefits_grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.seller_upgrade_benefit_card {
    background: rgba(30, 30, 46, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.seller_upgrade_benefit_card:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.seller_upgrade_benefit_icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.seller_upgrade_benefit_card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.seller_upgrade_benefit_card p {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.6;
}

/* ================= CARDS ================= */
.seller_upgrade_card {
    background: rgba(30, 30, 46, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
}

.seller_upgrade_card_header {
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.seller_upgrade_card_title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.seller_upgrade_card_subtitle {
    font-size: 1rem;
    color: #9ca3af;
}

.seller_upgrade_card_body {
    padding: 2rem;
}

/* ================= USER INFO ================= */
.seller_upgrade_user_info {
    margin-bottom: 3rem;
}

.seller_upgrade_current_user {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(55, 65, 81, 0.3);
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.seller_upgrade_user_avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(6, 182, 212, 0.5);
    flex-shrink: 0;
}

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

.seller_upgrade_user_details h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.seller_upgrade_user_details p {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 0.75rem;
}

.seller_upgrade_user_badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ================= FORM SECTIONS ================= */
.seller_upgrade_form_section {
    margin-bottom: 2.5rem;
}

.seller_upgrade_form_title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.seller_upgrade_form_description {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.seller_upgrade_form_row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .seller_upgrade_form_row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.seller_upgrade_form_group {
    margin-bottom: 1.5rem;
}

.seller_upgrade_label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.seller_upgrade_label svg {
    width: 16px;
    height: 16px;
    color: #06b6d4;
}

.seller_upgrade_input,
.seller_upgrade_textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(55, 65, 81, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: #fff;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.seller_upgrade_input:focus,
.seller_upgrade_textarea:focus {
    outline: none;
    border-color: #06b6d4;
    background: rgba(55, 65, 81, 0.7);
}

.seller_upgrade_textarea {
    resize: vertical;
    font-family: inherit;
}

/* ================= PRODUCTS ================= */
.seller_upgrade_products {
    margin-bottom: 3rem;
}

.seller_upgrade_product_stats {
    display: flex;
    gap: 2rem;
}

.seller_upgrade_stat {
    text-align: center;
}

.seller_upgrade_stat_number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #06b6d4;
    margin-bottom: 0.25rem;
}

.seller_upgrade_stat_label {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ================= TOOLBAR ================= */
.seller_upgrade_toolbar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.seller_upgrade_search_wrapper {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.seller_upgrade_search_wrapper svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.seller_upgrade_search {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    background: rgba(55, 65, 81, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: #fff;
    font-size: 0.875rem;
}

.seller_upgrade_search:focus {
    outline: none;
    border-color: #06b6d4;
}

.seller_upgrade_btn_select_all {
    padding: 0.75rem 1.5rem;
    background: rgba(55, 65, 81, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: #d1d5db;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}

.seller_upgrade_btn_select_all:hover {
    background: rgba(55, 65, 81, 0.7);
    border-color: #06b6d4;
}

/* ================= PRODUCTS GRID ================= */
.seller_upgrade_products_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

@media (min-width: 640px) {
    .seller_upgrade_products_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .seller_upgrade_products_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Scrollbar personalizado */
.seller_upgrade_products_grid::-webkit-scrollbar {
    width: 8px;
}

.seller_upgrade_products_grid::-webkit-scrollbar-track {
    background: rgba(55, 65, 81, 0.3);
    border-radius: 4px;
}

.seller_upgrade_products_grid::-webkit-scrollbar-thumb {
    background: rgba(6, 182, 212, 0.5);
    border-radius: 4px;
}

.seller_upgrade_products_grid::-webkit-scrollbar-thumb:hover {
    background: rgba(6, 182, 212, 0.7);
}

.seller_upgrade_product_card {
    background: rgba(55, 65, 81, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.seller_upgrade_product_card:hover {
    transform: translateY(-2px);
    border-color: rgba(6, 182, 212, 0.3);
}

.seller_upgrade_product_card:has(.seller_upgrade_product_checkbox:checked) {
    background: rgba(6, 182, 212, 0.1);
    border-color: #06b6d4;
}

.seller_upgrade_product_selection {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
}

.seller_upgrade_product_checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.seller_upgrade_product_check {
    width: 24px;
    height: 24px;
    border-radius: 0.375rem;
    background: rgba(55, 65, 81, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.seller_upgrade_product_checkbox:checked + .seller_upgrade_product_check {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    border-color: transparent;
}

.seller_upgrade_product_check svg {
    width: 16px;
    height: 16px;
    color: white;
    opacity: 0;
    transition: opacity 0.2s;
}

.seller_upgrade_product_checkbox:checked + .seller_upgrade_product_check svg {
    opacity: 1;
}

.seller_upgrade_product_image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 0.5rem;
    overflow: hidden;
    background: rgba(6, 182, 212, 0.1);
    margin-bottom: 1rem;
}

.seller_upgrade_product_image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.seller_upgrade_product_placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.seller_upgrade_product_info {
    
}

.seller_upgrade_product_category {
    font-size: 0.75rem;
    color: #06b6d4;
    margin-bottom: 0.5rem;
    display: block;
}

.seller_upgrade_product_info h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.seller_upgrade_product_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.seller_upgrade_product_price {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.seller_upgrade_product_commission {
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 600;
}

/* ================= CONFIRMATION / SUMMARY ================= */
.seller_upgrade_confirmation {
    position: sticky;
    top: 2rem;
}

.seller_upgrade_card_sticky {
    position: sticky;
    top: 2rem;
}

.seller_upgrade_summary {
    
}

.seller_upgrade_summary_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.seller_upgrade_summary_header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.seller_upgrade_summary_badge {
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: white;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.seller_upgrade_summary_items {
    margin-bottom: 1.5rem;
}

.seller_upgrade_summary_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    color: #9ca3af;
    font-size: 0.875rem;
}

.seller_upgrade_summary_item strong {
    color: #fff;
    font-weight: 700;
}

.seller_upgrade_summary_item.highlight {
    background: rgba(16, 185, 129, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.seller_upgrade_summary_item.highlight span {
    color: #fff;
}

.seller_upgrade_summary_item.highlight strong {
    color: #10b981;
    font-size: 1.25rem;
}

/* ================= TERMS ================= */
.seller_upgrade_terms {
    background: rgba(55, 65, 81, 0.3);
    padding: 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.seller_upgrade_checkbox_label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.seller_upgrade_checkbox_label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    accent-color: #06b6d4;
    cursor: pointer;
}

.seller_upgrade_checkbox_label span {
    font-size: 0.875rem;
    color: #d1d5db;
    line-height: 1.6;
}

.seller_upgrade_link {
    color: #06b6d4;
    text-decoration: none;
    font-weight: 500;
}

.seller_upgrade_link:hover {
    text-decoration: underline;
}

/* ================= ACTIONS ================= */
.seller_upgrade_actions {
    display: flex;
    gap: 1rem;
}

.seller_upgrade_btn {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
}

.seller_upgrade_btn svg {
    width: 20px;
    height: 20px;
}

.seller_upgrade_btn_primary {
    background: linear-gradient(90deg, #06b6d4, #3b82f6);
    color: white;
}

.seller_upgrade_btn_primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(6, 182, 212, 0.4);
}

.seller_upgrade_btn_primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.seller_upgrade_btn_cancel {
    background: rgba(55, 65, 81, 0.5);
    color: #d1d5db;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.seller_upgrade_btn_cancel:hover {
    background: rgba(55, 65, 81, 0.7);
}

.seller_upgrade_btn_success {
    background: linear-gradient(90deg, #10b981, #059669);
    color: white;
}

.seller_upgrade_btn_success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* ================= MODAL ================= */
.seller_upgrade_modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 2rem;
}

.seller_upgrade_modal {
    background: rgba(30, 30, 46, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    animation: modalSlideUp 0.4s ease-out;
}

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

.seller_upgrade_modal_success_icon {
    margin: 0 auto 2rem;
    animation: successScale 0.6s ease-out;
}

@keyframes successScale {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.seller_upgrade_modal_success_icon svg {
    width: 80px;
    height: 80px;
    stroke: #10b981;
    stroke-width: 3;
}

.seller_upgrade_modal_title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.seller_upgrade_modal_text {
    font-size: 1rem;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .seller_upgrade_confirmation {
        position: static;
    }

    .seller_upgrade_card_sticky {
        position: static;
    }
}

@media (max-width: 768px) {
    .seller_upgrade_title {
        font-size: 2rem;
    }

    .seller_upgrade_subtitle {
        font-size: 1rem;
    }

    .seller_upgrade_current_user {
        flex-direction: column;
        text-align: center;
    }

    .seller_upgrade_actions {
        flex-direction: column;
    }

    .seller_upgrade_modal {
        padding: 2rem;
    }
}
