/* === ULTRA-PREMIUM SELLER PROFILE PAGE === */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Sora:wght@700;800;900&family=Poppins:wght@400;500;600;700;800&display=swap");

/* ======================== ROOT VARIABLES ======================== */
:root {
    --msdpp-primary-orange: #ff7a00;
    --msdpp-orange-light: #ff9533;
    --msdpp-orange-dark: #e66a00;
    --msdpp-orange-glow: rgba(255, 122, 0, 0.4);
    --msdpp-white: #ffffff;
    --msdpp-cream: #f5e7da;
    --msdpp-dark: #0d0d0d;
    --msdpp-dark-light: #1a1a1a;
    --msdpp-dark-medium: #222222;
    --msdpp-dark-card: #181818;
    --msdpp-success: #00d4aa;
    --msdpp-danger: #ff4757;
    --msdpp-warning: #ffa502;
    --msdpp-info: #3498db;
    --msdpp-purple: #9b59b6;
    --msdpp-gradient-primary: linear-gradient(135deg, #ff7a00, #ff9533);
    --msdpp-gradient-secondary: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    --msdpp-gradient-success: linear-gradient(135deg, #00d4aa, #01a085);
    --msdpp-gradient-danger: linear-gradient(135deg, #ff4757, #e84118);
    --msdpp-gradient-info: linear-gradient(135deg, #3498db, #2980b9);
    --msdpp-gradient-card: linear-gradient(145deg, rgba(24, 24, 24, 0.95), rgba(34, 34, 34, 0.9));
    --msdpp-gradient-mesh: radial-gradient(circle at 20% 50%, rgba(255, 122, 0, 0.1) 0%, transparent 50%),
                           radial-gradient(circle at 80% 80%, rgba(255, 149, 51, 0.06) 0%, transparent 50%);
    --msdpp-shadow-primary: 0 20px 60px rgba(255, 122, 0, 0.3);
    --msdpp-shadow-card: 0 15px 40px rgba(0, 0, 0, 0.4);
    --msdpp-shadow-intense: 0 25px 80px rgba(255, 122, 0, 0.4);
    --msdpp-blur-glass: blur(20px);
    --msdpp-border-radius: 18px;
    --msdpp-transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --msdpp-transition-fast: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ======================== PAGE WRAPPER ======================== */
.msdpp-page-wrapper {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a, #0f0f0f);
    color: var(--msdpp-white);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
    padding: clamp(100px, 15vh, 140px) 0 clamp(80px, 12vh, 120px);
}

/* ======================== PARTICLES ======================== */
.msdpp-particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.msdpp-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    animation: msdppFloat linear infinite;
}

.msdpp-particle-orange {
    background: radial-gradient(circle, var(--msdpp-primary-orange), transparent);
}

.msdpp-particle-white {
    background: radial-gradient(circle, var(--msdpp-cream), transparent);
    animation-direction: reverse;
}

.msdpp-particle-1 { width: 3px; height: 3px; left: 10%; top: 20%; animation-duration: 25s; }
.msdpp-particle-2 { width: 5px; height: 5px; left: 80%; top: 30%; animation-duration: 30s; animation-delay: -5s; }
.msdpp-particle-3 { width: 2px; height: 2px; left: 50%; top: 70%; animation-duration: 20s; animation-delay: -10s; }
.msdpp-particle-4 { width: 4px; height: 4px; left: 30%; top: 85%; animation-duration: 28s; animation-delay: -15s; }
.msdpp-particle-5 { width: 3px; height: 3px; left: 90%; top: 50%; animation-duration: 22s; animation-delay: -3s; }

/* ======================== GRADIENT OVERLAY ======================== */
.msdpp-gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--msdpp-gradient-mesh);
    pointer-events: none;
    z-index: 1;
    animation: msdppGradientShift 20s ease-in-out infinite;
}

/* ======================== CONTAINER ======================== */
.msdpp-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 20px);
}

/* ======================== PAGE HEADER ======================== */
.msdpp-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(20px, 4vw, 30px);
    margin-bottom: clamp(40px, 7vh, 60px);
    padding: clamp(25px, 5vh, 35px);
    background: var(--msdpp-gradient-card);
    backdrop-filter: var(--msdpp-blur-glass);
    border-radius: 20px;
    border: 2px solid rgba(255, 122, 0, 0.2);
    box-shadow: var(--msdpp-shadow-card);
}

.msdpp-header-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    font-family: "Sora", sans-serif;
    background: var(--msdpp-gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.msdpp-header-content p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.msdpp-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: clamp(12px, 2.5vh, 15px) clamp(22px, 4.5vw, 30px);
    background: var(--msdpp-gradient-info);
    color: var(--msdpp-white);
    border: none;
    border-radius: 12px;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-weight: 600;
    text-decoration: none;
    transition: var(--msdpp-transition-fast);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
}

.msdpp-header-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.5);
    color: var(--msdpp-white);
}

/* ======================== PREMIUM CARDS ======================== */
.msdpp-card {
    background: var(--msdpp-gradient-card);
    backdrop-filter: var(--msdpp-blur-glass);
    border-radius: 22px;
    border: 2px solid rgba(255, 122, 0, 0.2);
    box-shadow: var(--msdpp-shadow-card);
    margin-bottom: clamp(25px, 5vh, 35px);
    overflow: hidden;
    transition: var(--msdpp-transition);
    position: relative;
}

.msdpp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--msdpp-gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--msdpp-transition);
}

.msdpp-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--msdpp-shadow-intense);
    border-color: var(--msdpp-primary-orange);
}

.msdpp-card:hover::before {
    transform: scaleX(1);
}

.msdpp-card-header {
    padding: clamp(20px, 4vh, 28px) clamp(22px, 4.5vw, 30px);
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.15), rgba(255, 122, 0, 0.05));
    border-bottom: 2px solid rgba(255, 122, 0, 0.2);
}

.msdpp-card-header h5 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--msdpp-white);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Poppins", sans-serif;
}

.msdpp-card-header i {
    color: var(--msdpp-primary-orange);
    font-size: 1.2em;
}

.msdpp-card-body {
    padding: clamp(25px, 5vh, 35px) clamp(22px, 4.5vw, 30px);
}

/* ======================== FORM ELEMENTS ======================== */
.msdpp-form-label {
    display: block;
    font-size: clamp(0.9rem, 1.8vw, 0.95rem);
    font-weight: 600;
    color: var(--msdpp-white);
    margin-bottom: 10px;
    font-family: "Inter", sans-serif;
}

.msdpp-form-label .msdpp-required {
    color: var(--msdpp-danger);
    margin-left: 4px;
}

.msdpp-form-control {
    width: 100%;
    padding: clamp(13px, 2.8vh, 16px) clamp(16px, 3.5vw, 20px);
    background: rgba(24, 24, 24, 0.8);
    border: 2px solid rgba(255, 122, 0, 0.2);
    border-radius: 12px;
    color: var(--msdpp-white);
    font-size: clamp(0.95rem, 2vw, 1rem);
    font-weight: 500;
    font-family: "Inter", sans-serif;
    transition: var(--msdpp-transition-fast);
}

.msdpp-form-control:focus {
    outline: none;
    border-color: var(--msdpp-primary-orange);
    box-shadow: 0 0 20px rgba(255, 122, 0, 0.3);
    background: rgba(24, 24, 24, 1);
}

.msdpp-form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.msdpp-form-select {
    width: 100%;
    padding: clamp(13px, 2.8vh, 16px) clamp(16px, 3.5vw, 20px);
    background: rgba(24, 24, 24, 0.8);
    border: 2px solid rgba(255, 122, 0, 0.2);
    border-radius: 12px;
    color: var(--msdpp-white);
    font-size: clamp(0.95rem, 2vw, 1rem);
    font-weight: 500;
    font-family: "Inter", sans-serif;
    cursor: pointer;
    transition: var(--msdpp-transition-fast);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%23ff7a00' d='M7 10L2 5h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 45px;
}

.msdpp-form-select:focus {
    outline: none;
    border-color: var(--msdpp-primary-orange);
    box-shadow: 0 0 20px rgba(255, 122, 0, 0.3);
    background-color: rgba(24, 24, 24, 1);
}

.msdpp-form-textarea {
    width: 100%;
    padding: clamp(13px, 2.8vh, 16px) clamp(16px, 3.5vw, 20px);
    background: rgba(24, 24, 24, 0.8);
    border: 2px solid rgba(255, 122, 0, 0.2);
    border-radius: 12px;
    color: var(--msdpp-white);
    font-size: clamp(0.95rem, 2vw, 1rem);
    font-weight: 500;
    font-family: "Inter", sans-serif;
    resize: vertical;
    transition: var(--msdpp-transition-fast);
    min-height: 120px;
}

.msdpp-form-textarea:focus {
    outline: none;
    border-color: var(--msdpp-primary-orange);
    box-shadow: 0 0 20px rgba(255, 122, 0, 0.3);
    background: rgba(24, 24, 24, 1);
}

.msdpp-form-file {
    width: 100%;
    padding: clamp(12px, 2.5vh, 15px) clamp(14px, 3vw, 18px);
    background: rgba(24, 24, 24, 0.8);
    border: 2px solid rgba(255, 122, 0, 0.2);
    border-radius: 12px;
    color: var(--msdpp-white);
    font-size: clamp(0.9rem, 1.8vw, 0.95rem);
    cursor: pointer;
    transition: var(--msdpp-transition-fast);
}

.msdpp-form-file:focus {
    outline: none;
    border-color: var(--msdpp-primary-orange);
    box-shadow: 0 0 20px rgba(255, 122, 0, 0.3);
}

.msdpp-form-file::file-selector-button {
    padding: 8px 16px;
    background: var(--msdpp-gradient-primary);
    color: var(--msdpp-white);
    border: none;
    border-radius: 8px;
    margin-right: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--msdpp-transition-fast);
}

.msdpp-form-file::file-selector-button:hover {
    transform: scale(1.05);
}

.msdpp-form-hint {
    display: block;
    font-size: clamp(0.8rem, 1.6vw, 0.85rem);
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
}

.msdpp-invalid-feedback {
    display: block;
    color: var(--msdpp-danger);
    font-size: clamp(0.8rem, 1.6vw, 0.85rem);
    margin-top: 6px;
    font-weight: 500;
}

.msdpp-form-control.msdpp-is-invalid,
.msdpp-form-select.msdpp-is-invalid,
.msdpp-form-textarea.msdpp-is-invalid {
    border-color: var(--msdpp-danger);
}

/* ======================== LOGO PREVIEW ======================== */
.msdpp-logo-preview-wrapper {
    text-align: center;
    padding: clamp(20px, 4vh, 30px);
}

.msdpp-logo-preview {
    width: clamp(130px, 25vw, 170px);
    height: clamp(130px, 25vw, 170px);
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--msdpp-primary-orange);
    box-shadow: 0 15px 50px rgba(255, 122, 0, 0.4);
    margin-bottom: 20px;
    transition: var(--msdpp-transition);
}

.msdpp-logo-preview:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 20px 60px rgba(255, 122, 0, 0.6);
}

/* ======================== DOCUMENTS SECTION ======================== */
.msdpp-document-item {
    margin-bottom: 20px;
}

.msdpp-document-current {
    margin-bottom: 12px;
}

.msdpp-document-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--msdpp-gradient-info);
    color: var(--msdpp-white);
    border: none;
    border-radius: 8px;
    font-size: clamp(0.85rem, 1.7vw, 0.9rem);
    font-weight: 600;
    text-decoration: none;
    transition: var(--msdpp-transition-fast);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.msdpp-document-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.5);
    color: var(--msdpp-white);
}

/* ======================== VERIFICATION BADGE ======================== */
.msdpp-verification-status {
    text-align: center;
}

.msdpp-badge-wrapper {
    margin-bottom: 20px;
    display: inline-block;
}

.msdpp-status-text {
    font-size: clamp(0.9rem, 1.8vw, 0.95rem);
    line-height: 1.6;
}

.msdpp-status-pending {
    color: var(--msdpp-warning);
}

.msdpp-status-verified {
    color: var(--msdpp-success);
    font-weight: 600;
}

.msdpp-status-rejected {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.15), rgba(255, 71, 87, 0.05));
    padding: 15px;
    border-radius: 12px;
    border: 2px solid rgba(255, 71, 87, 0.3);
}

.msdpp-status-rejected strong {
    color: var(--msdpp-danger);
    display: block;
    margin-bottom: 8px;
}

/* ======================== SUBMIT SECTION ======================== */
.msdpp-submit-card {
    margin-top: clamp(30px, 6vh, 50px);
}

.msdpp-submit-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(20px, 4vw, 30px);
}

.msdpp-submit-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.9rem, 1.8vw, 0.95rem);
}

.msdpp-submit-info i {
    color: var(--msdpp-info);
    font-size: 1.2em;
}

.msdpp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: clamp(15px, 3.2vh, 18px) clamp(30px, 6vw, 40px);
    background: var(--msdpp-gradient-primary);
    color: var(--msdpp-white);
    border: none;
    border-radius: 14px;
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--msdpp-transition);
    box-shadow: var(--msdpp-shadow-primary);
    font-family: "Poppins", sans-serif;
    position: relative;
    overflow: hidden;
}

.msdpp-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: msdppShine 3s ease-in-out infinite;
}

.msdpp-btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 30px 90px rgba(255, 122, 0, 0.5);
}

.msdpp-btn-primary i {
    font-size: 1.1em;
}

/* ======================== GRID SYSTEM ======================== */
.msdpp-row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(20px, 4vw, 30px);
    margin-bottom: clamp(20px, 4vh, 30px);
}

.msdpp-col-12 {
    grid-column: span 12;
}

.msdpp-col-lg-8 {
    grid-column: span 12;
}

.msdpp-col-lg-4 {
    grid-column: span 12;
}

.msdpp-col-md-6 {
    grid-column: span 12;
}

.msdpp-col-md-4 {
    grid-column: span 12;
}

@media (min-width: 768px) {
    .msdpp-col-md-6 {
        grid-column: span 6;
    }
    .msdpp-col-md-4 {
        grid-column: span 4;
    }
}

@media (min-width: 992px) {
    .msdpp-col-lg-8 {
        grid-column: span 8;
    }
    .msdpp-col-lg-4 {
        grid-column: span 4;
    }
}

/* ======================== ANIMATIONS ======================== */
@keyframes msdppFloat {
    0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0.3; }
    50% { opacity: 0.6; }
    100% { transform: translateY(-100vh) translateX(50px) rotate(360deg); opacity: 0; }
}

@keyframes msdppGradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes msdppShine {
    0% { left: -100%; }
    50%, 100% { left: 200%; }
}

/* ======================== RESPONSIVE BREAKPOINTS ======================== */

/* Tablets Landscape (992px - 1200px) */
@media screen and (max-width: 1200px) {
    .msdpp-page-wrapper {
        padding: clamp(80px, 13vh, 120px) 0 clamp(70px, 11vh, 100px);
    }
}

/* Tablets Portrait (768px - 992px) */
@media screen and (max-width: 992px) {
    .msdpp-page-wrapper {
        padding: clamp(70px, 11vh, 100px) 0 clamp(60px, 10vh, 90px);
    }
    
    .msdpp-page-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .msdpp-header-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile Landscape (640px - 768px) */
@media screen and (max-width: 768px) {
    .msdpp-container {
        padding: 0 15px;
    }
    
    .msdpp-page-wrapper {
        padding: clamp(60px, 10vh, 85px) 0 clamp(50px, 9vh, 75px);
    }
    
    .msdpp-card {
        border-radius: 18px;
    }
    
    .msdpp-card-header {
        padding: clamp(18px, 3.5vh, 25px) clamp(20px, 4vw, 28px);
    }
    
    .msdpp-card-body {
        padding: clamp(22px, 4.5vh, 32px) clamp(20px, 4vw, 28px);
    }
}

/* Mobile Portrait (480px - 640px) */
@media screen and (max-width: 640px) {
    .msdpp-page-wrapper {
        padding: clamp(50px, 9vh, 75px) 0 clamp(45px, 8vh, 65px);
    }
    
    .msdpp-page-header {
        padding: clamp(20px, 4vh, 30px);
    }
    
    .msdpp-submit-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .msdpp-btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .msdpp-submit-info {
        text-align: center;
        justify-content: center;
    }
}

/* Small Mobile (360px - 480px) */
@media screen and (max-width: 480px) {
    .msdpp-container {
        padding: 0 12px;
    }
    
    .msdpp-page-wrapper {
        padding: clamp(45px, 8vh, 70px) 0 clamp(40px, 7vh, 60px);
    }
    
    .msdpp-card {
        border-radius: 16px;
    }
    
    .msdpp-card-header {
        padding: clamp(16px, 3vh, 22px) clamp(18px, 3.5vw, 25px);
    }
    
    .msdpp-card-body {
        padding: clamp(20px, 4vh, 28px) clamp(18px, 3.5vw, 25px);
    }
}

/* Extra Small Mobile (< 360px) */
@media screen and (max-width: 360px) {
    .msdpp-container {
        padding: 0 10px;
    }
    
    .msdpp-card-header {
        padding: 15px;
    }
    
    .msdpp-card-body {
        padding: 18px 15px;
    }
}

/* ======================== TOUCH DEVICE OPTIMIZATIONS ======================== */
@media (hover: none) and (pointer: coarse) {
    .msdpp-card:hover,
    .msdpp-btn-primary:hover,
    .msdpp-header-btn:hover {
        transform: none;
    }
    
    .msdpp-card:active {
        transform: scale(0.98);
    }
    
    .msdpp-btn-primary:active {
        transform: scale(0.97);
    }
    
    .msdpp-form-control,
    .msdpp-form-select,
    .msdpp-form-textarea {
        min-height: 50px;
        font-size: 16px;
    }
    
    .msdpp-btn-primary {
        min-height: 54px;
    }
}

/* ======================== ACCESSIBILITY ======================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ======================== CUSTOM SCROLLBAR ======================== */
.msdpp-page-wrapper::-webkit-scrollbar {
    width: 10px;
}

.msdpp-page-wrapper::-webkit-scrollbar-track {
    background: var(--msdpp-dark);
}

.msdpp-page-wrapper::-webkit-scrollbar-thumb {
    background: var(--msdpp-gradient-primary);
    border-radius: 5px;
}

.msdpp-page-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--msdpp-orange-light);
}

/* ======================== SELECTION ======================== */
::selection {
    background: var(--msdpp-primary-orange);
    color: var(--msdpp-white);
}

::-moz-selection {
    background: var(--msdpp-primary-orange);
    color: var(--msdpp-white);
}

/* ======================== FOCUS STYLES ======================== */
.msdpp-form-control:focus-visible,
.msdpp-form-select:focus-visible,
.msdpp-form-textarea:focus-visible,
.msdpp-btn-primary:focus-visible {
    outline: 3px solid var(--msdpp-primary-orange);
    outline-offset: 3px;
}

/* ======================== PRINT STYLES ======================== */
@media print {
    .msdpp-particles-container,
    .msdpp-gradient-overlay {
        display: none !important;
    }
    
    .msdpp-page-wrapper {
        background: white !important;
        color: black !important;
    }
}