/* Mobile Profile Page Styles */

@media (max-width: 768px) {
    /* Profile Container */
    .profile-page {
        padding: 0;
    }
    
    /* Breadcrumbs Mobile */
    .profile-breadcrumbs {
        padding: 12px 20px;
        margin-bottom: 4px;
    }
    
    .breadcrumbs-text {
        font-size: 11px;
        line-height: 1.4;
    }
    
    /* Title Mobile */
    .profile-title {
        font-size: 24px !important;
        line-height: 1.2 !important;
        padding: 8px 20px !important;
        margin: 0 0 12px 0 !important;
    }
    
    /* Main Content Layout - вертикальная раскладка */
    .profile-content {
        flex-direction: column;
        gap: 12px;
        padding: 0 20px 24px 20px !important;
    }
    
    .profile-main {
        width: 100%;
        max-width: 100%;
        gap: 12px;
    }
    
    .profile-sidebar {
        width: 100%;
        padding-left: 0;
        gap: 12px;
        margin-top: 20px;
    }
    
    /* Profile Cards Mobile */
    .profile-card {
        border-radius: 16px;
        padding: 16px;
    }
    
    /* Orders Card Mobile */
    .profile-card-orders {
        padding: 16px;
        width: 393px;
        max-width: 393px;
        margin: 0 auto;
    }
    
    .orders-header {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 16px;
        width: 100%;
        max-width: 361px;
    }
    
    .card-title {
        font-size: 16px;
        margin: 0;
    }
    
    .orders-switcher {
        width: 100%;
        max-width: 361px;
    }
    
    .switcher-bg {
        width: 100%;
        max-width: 361px;
        height: 36px;
    }
    
    .switcher-btn {
        font-size: 12px;
        padding: 8px 12px;
        height: 36px;
    }
    
    /* Order Items Mobile */
    .order-item {
        padding: 12px;
        margin-bottom: 8px;
        border-radius: 12px;
        width: 100%;
        max-width: 361px;
    }
    
    .order-number {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .order-status-badges {
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 8px;
    }
    
    .order-status-badge {
        font-size: 10px;
        padding: 3px 10px;
    }
    
    .order-status-badge--crm {
        border-color: #0FC998;
        color: #0FC998;
    }

    .order-crm-details {
        margin-top: 12px;
        display: flex;
        flex-direction: column;
        gap: 4px;
        font-size: 12px;
        color: #4D5055;
    }

    .order-crm-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 11px;
    line-height: 1.4;
    color: #8C8F96;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    }

    .order-crm-line {
    display: flex;
    flex-direction: row;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 1.45;
    color: #8C8F96;
    margin-bottom: 4px;
    }

    .order-crm-line:last-child {
    margin-bottom: 0;
    }

    .order-crm-label {
    color: #8C8F96;
    white-space: nowrap;
    }

    .order-crm-value {
    color: #8C8F96;
    }

    .order-crm-value--accent {
    color: #0FC998;
    font-weight: 500;
    }

    .order-documents {
        margin-top: 12px;
    }

    .order-documents__title {
        font-weight: 600;
        font-size: 12px;
        color: #0FC998;
        margin-bottom: 6px;
    }

    .order-documents__list {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .order-document-link {
        font-size: 12px;
        color: #4D5055;
        text-decoration: underline;
    }
    
    .order-product {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin: 8px 0;
    }
    
    .order-product-image {
        width: 100px;
        height: 100px;
    }
    
    .order-product-name {
        font-size: 13px;
        text-align: center;
    }
    
    .order-total {
        font-size: 16px;
    }
    
    /* User Data Card Mobile */
    .profile-card-userdata {
        padding: 16px;
        width: 393px;
        max-width: 393px;
        margin: 0 auto;
        position: relative;
        min-height: 300px;
        padding-bottom: 70px;
    }
    
    .card-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        margin-bottom: 12px;
    }
    
    .btn-edit {
        width: 100%;
        height: 40px;
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .userdata-content {
        gap: 10px;
        position: relative;
    }
    
    .userdata-company {
        font-size: 16px !important;
        margin-bottom: 6px !important;
        line-height: 1.3 !important;
    }
    
    .userdata-name {
        font-size: 12px !important;
        margin: 8px 0 !important;
        height: auto !important;
        line-height: 1.4 !important;
    }
    
    .userdata-address-row,
    .userdata-contacts-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .userdata-field {
        font-size: 12px !important;
    }
    
    .userdata-text {
        font-size: 12px !important;
    }
    
    .userdata-icon {
        width: 14px;
        height: 14px;
    }
    
    .btn-logout {
        width: 100% !important;
        height: 44px !important;
        font-size: 13px !important;
        text-align: center;
    }
    
    .userdata-logout {
        position: absolute !important;
        bottom: -55px !important;
        right: 50px !important;
        left: auto !important;
        top: auto !important;
        margin: 0 !important;
    }
    
    .profile-card-userdata .userdata-logout {
        position: absolute !important;
        bottom: -55px !important;
        right: 50px !important;
    }
    
    /* Security Card Mobile */
    .profile-card-security {
        padding: 16px;
        width: 393px;
        max-width: 393px;
        margin: 0 auto;
    }
    
    .security-bg {
        display: none;
    }
    
    .password-fields {
        flex-direction: column;
        gap: 10px;
    }
    
    .password-field {
        width: 100%;
    }
    
    .form-input {
        width: 100%;
        height: 44px;
        font-size: 13px;
        padding: 10px 14px;
    }
    
    .btn-change-password {
        width: 100%;
        height: 44px;
        font-size: 13px;
        margin-top: 12px;
    }
    
    /* Status Card Mobile */
    .profile-card-status {
        width: 393px;
        max-width: 393px;
        height: auto;
        min-height: 300px;
        padding: 16px;
        margin: 0 auto;
    }
    
    .status-card-bg {
        position: absolute;
        top: 30px;
        left: 92px;
        width: 242px;
        height: 170px;
        z-index: 1;
    }
    
    .status-card-content {
        padding: 16px 0 0 0;
    }
    
    .status-header {
        padding: 0 16px;
        margin-bottom: 12px;
    }
    
    .status-title {
        font-size: 12px;
        margin-top: 100px;
        padding-left: 16px;
    }
    
    .status-level {
        padding-left: 16px;
    }
    
    .status-level-name {
        font-size: 32px;
        margin-bottom: 16px;
    }
    
    .status-stats {
        padding-left: 16px;
        margin-bottom: 10px;
    }
    
    .status-stat-value {
        font-size: 9px;
        margin-bottom: 6px;
    }
    
    .status-stat-label {
        font-size: 9px;
    }
    
    .status-stat-chart {
        width: 100%;
        max-width: 150px;
        height: 3px;
    }
    
    .status-discount {
        padding-left: 16px;
        margin-bottom: 12px;
    }
    
    .status-discount-value {
        font-size: 16px;
    }
    
    .status-discount-number {
        font-size: 28px;
    }
    
    .status-discount-label {
        font-size: 11px;
    }
    
    .status-help-icon-wrapper {
        right: 16px;
        top: auto;
        bottom: 16px;
    }
    
    .status-help-icon {
        width: 16px;
        height: 16px;
        font-size: 12px;
    }
    
    .status-blink {
        display: none;
    }
    
    /* Support Card Mobile */
    .profile-card-support {
        width: 393px;
        max-width: 393px;
        height: auto;
        padding: 20px;
        text-align: center;
        margin: 0 auto;
    }
    
    .support-icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 10px auto;
    }
    
    .support-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .support-phone {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .support-text {
        font-size: 12px;
        line-height: 1.4;
    }
    
    /* Edit Profile Modal Mobile */
    .edit-profile-modal__content {
        width: 100%;
        max-width: calc(100% - 32px);
        padding: 20px;
        border-radius: 16px;
    }
    
    .edit-profile-modal__title {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .edit-profile-form__field {
        margin-bottom: 12px;
    }
    
    .edit-profile-form__field label {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .edit-profile-form__field input {
        height: 44px;
        font-size: 13px;
        padding: 10px 14px;
    }
    
    .edit-profile-form__buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 16px;
    }
    
    .edit-profile-form__buttons button {
        width: 100%;
        height: 44px;
        font-size: 13px;
    }
}

