/* Profile Custom Styles */

/* Common Components */
.login-form-wrap {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 30px;
    padding: 45px;
    background: #fff;
}

/* Sidebar Styles */
.profile-sidebar-new {
    background: #fff;
    border-radius: 30px;
    padding: 35px 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.profile-sidebar-new .sidebar-widget {
    margin-bottom: 0;
    padding: 0;
    border: none;
    background: transparent;
}

.profile-menu {
    padding: 0;
    margin: 0;
}

.profile-menu li {
    list-style: none;
    margin-bottom: 10px;
}

.profile-menu li a {
    display: flex;
    align-items: center;
    padding: 18px 30px;
    border-radius: 15px;
    color: #495057;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.profile-menu li i {
    font-size: 28px;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.profile-menu li:hover a {
    background: #f8f9fa;
    color: #019446;
}

.profile-menu li.active a {
    background: #019446;
    color: #fff;
    box-shadow: 0 10px 20px rgba(1, 148, 70, 0.2);
}

.profile-menu li.active i {
    color: #fff;
}

.profile-menu li.active:hover a {
    background: #019446;
    color: #fff;
}

.profile-menu li.logout-item a {
    color: #ff6b6b;
}

.profile-menu li.logout-item:hover a {
    background: #fff5f5;
    color: #ff4757;
}

/* Table Styles */
.custom-table {
    border-collapse: separate;
    border-spacing: 0 16px;
    margin-top: -16px;
}

.custom-table thead th {
    border: none;
    background: #fcfcfc;
    color: #adb5bd;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1.5px;
    padding: 20px;
}

.custom-table tbody tr {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 16px;
}

.custom-table tbody tr:hover {
    transform: scale(1.01) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
    background: #fff;
}

.custom-table tbody td {
    border: none;
    padding: 20px;
    vertical-align: middle;
}

.custom-table tbody td:first-child {
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.custom-table tbody td:last-child {
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

/* Product Components */
.img-container {
    position: relative;
    overflow: hidden;
    width: 70px;
    height: 70px;
    border-radius: 18px;
}

.product-img-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.custom-table tbody tr:hover .product-img-thumb {
    transform: scale(1.15);
}

.product-img-placeholder {
    width: 70px;
    height: 70px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #dee2e6;
    font-size: 24px;
    border: 2px dashed #eee;
}

.product-name {
    color: #2d3436;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: -0.3px;
}

.product-category {
    font-size: 12px;
    color: #95a5a6;
    display: flex;
    align-items: center;
}

.price-container {
    display: flex;
    flex-direction: column;
}

.product-price-val {
    color: #019446;
    font-weight: 800;
    font-size: 18px;
    line-height: 1;
}

.product-unit {
    color: #b2bec3;
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
}

/* Profile Dashboard */
.profile-dashboard {
    overflow: hidden;
}

.profile-hero-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(1, 148, 70, 0.12), transparent 28%),
        linear-gradient(135deg, #f8fffb 0%, #ffffff 52%, #f4f7fb 100%);
    border: 1px solid rgba(1, 148, 70, 0.1);
    box-shadow: 0 24px 50px rgba(28, 33, 55, 0.08);
    margin-bottom: 26px;
}

.profile-hero-main {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
}

.profile-avatar-wrap {
    width: 104px;
    height: 104px;
    flex: 0 0 104px;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(135deg, #019446, #18b368);
    box-shadow: 0 18px 36px rgba(1, 148, 70, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-fallback {
    color: #fff;
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
}

.profile-hero-copy {
    min-width: 0;
}

.profile-hero-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(1, 148, 70, 0.1);
    color: #019446;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.profile-hero-copy h3 {
    font-size: 34px;
    line-height: 1.1;
    margin-bottom: 10px;
    color: #1c2137;
}

.profile-hero-copy p {
    max-width: 640px;
    margin-bottom: 16px;
    color: #6c757d;
    font-size: 15px;
    line-height: 1.7;
}

.profile-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.profile-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #fff;
    color: #495057;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(28, 33, 55, 0.06);
}

.profile-hero-meta i {
    color: #019446;
    font-size: 18px;
}

.profile-hero-actions {
    flex: 0 0 auto;
}

.profile-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.profile-info-card {
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(28, 33, 55, 0.06);
    box-shadow: 0 18px 40px rgba(28, 33, 55, 0.06);
}

.profile-info-card-wide {
    grid-column: span 2;
}

.profile-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.profile-card-head h4 {
    margin: 0;
    font-size: 20px;
    color: #1c2137;
}

.profile-card-head span {
    color: #97a0ad;
    font-size: 13px;
    font-weight: 600;
}

.profile-info-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.profile-info-row {
    padding: 14px 16px;
    border-radius: 18px;
    background: #f9fbfb;
    border: 1px solid #eef2f1;
}

.profile-info-row span,
.profile-location-item small,
.profile-stat-chip small,
.profile-timeline-card small {
    display: block;
    color: #97a0ad;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.profile-info-row strong,
.profile-location-item strong,
.profile-stat-chip strong,
.profile-timeline-card strong {
    display: block;
    color: #1c2137;
    font-size: 16px;
    line-height: 1.45;
}

.profile-stat-stack,
.profile-location-list {
    display: grid;
    gap: 14px;
}

.profile-stat-chip,
.profile-location-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: #f9fbfb;
    border: 1px solid #eef2f1;
}

.profile-stat-chip i,
.profile-location-item i {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 14px;
    background: rgba(1, 148, 70, 0.1);
    color: #019446;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.profile-timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.profile-timeline-card {
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faf9 100%);
    border: 1px solid #eef2f1;
}

/* Profile Settings */
.profile-settings-shell {
    background:
        radial-gradient(circle at top right, rgba(1, 148, 70, 0.08), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.profile-settings-head {
    margin-bottom: 26px;
}

.profile-settings-head h3 {
    margin-bottom: 10px;
    font-size: 32px;
    color: #1c2137;
}

.profile-settings-head p {
    margin: 0;
    color: #6c757d;
    line-height: 1.7;
}

.profile-settings-form .form-group {
    margin-bottom: 18px;
}

.profile-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.profile-settings-card {
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(28, 33, 55, 0.06);
    box-shadow: 0 18px 40px rgba(28, 33, 55, 0.06);
}

.profile-settings-card-wide {
    grid-column: span 2;
}

.profile-settings-card-hero .profile-card-head {
    margin-bottom: 12px;
}

.profile-avatar-editor .upload-kit {
    margin-bottom: 0;
}

.profile-avatar-editor .upload-kit-input {
    margin-bottom: 14px;
}

.profile-avatar-editor .upload-kit-item.image,
.profile-avatar-editor .upload-kit-input {
    width: 180px;
    height: 180px;
    border-radius: 24px;
    overflow: hidden;
}

.profile-avatar-editor .upload-kit-input {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(1, 148, 70, 0.35);
    background: #f9fbfb;
}

.profile-avatar-editor .upload-kit-item.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-editor .upload-kit-item.image {
    border: 1px solid #edf1ee;
    box-shadow: 0 16px 32px rgba(28, 33, 55, 0.08);
}

.profile-avatar-editor .upload-kit-item.image .remove {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(217, 72, 95, 0.96);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.profile-phone-group .input-group-text {
    min-width: 78px;
    justify-content: center;
    border-radius: 14px 0 0 14px;
    border: 1px solid #e6ebef;
    border-right: none;
    background: #f8fafb;
    font-weight: 700;
    color: #495057;
}

.profile-phone-group .form-control {
    border-radius: 0 14px 14px 0 !important;
}

.profile-settings-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 28px;
}

.profile-cancel-btn {
    min-width: 130px;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 14px;
    background: #f1f3f5;
    color: #495057;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.profile-cancel-btn:hover {
    color: #212529;
    background: #e8ecef;
}

.date-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.date-val {
    font-weight: 700;
    color: #636e72;
    font-size: 14px;
}

.time-val {
    font-size: 12px;
    color: #b2bec3;
    font-weight: 500;
}

/* Status Badges */
.status-badge-new {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: capitalize;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-moderation {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.status-moderation .status-dot {
    background: #f59e0b;
    box-shadow: 0 0 8px #f59e0b;
}

.status-approved {
    background: rgba(1, 148, 70, 0.1);
    color: #019446;
}

.status-approved .status-dot {
    background: #019446;
    box-shadow: 0 0 8px #019446;
}

.status-rejected {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.status-rejected .status-dot {
    background: #dc3545;
    box-shadow: 0 0 8px #dc3545;
}

/* Action Buttons */
.action-btns-wrap {
    white-space: nowrap;
}

.action-btn-new {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin: 0 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 20px;
    border: 1px solid transparent;
}

.btn-view-new {
    background: #f1f3f5;
    color: #495057;
}

.btn-view-new:hover {
    background: #fff;
    color: #339af0;
    border-color: #339af0;
    transform: translateY(-2px);
}

.btn-edit-new {
    background: #f1f3f5;
    color: #495057;
}

.btn-edit-new:hover {
    background: #fff;
    color: #51cf66;
    border-color: #51cf66;
    transform: translateY(-2px);
}

.btn-delete-new {
    background: #f1f3f5;
    color: #495057;
}

.btn-delete-new:hover {
    background: #fff;
    color: #ff6b6b;
    border-color: #ff6b6b;
    transform: translateY(-2px);
}

/* Form Styles */
.login-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1c2137;
    margin-bottom: 8px;
}

.login-header p {
    color: #777;
    font-size: 15px;
}

.style-2 {
    height: 55px !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    font-size: 15px !important;
    transition: all 0.3s ease;
}

.style-2:focus {
    border-color: #019446 !important;
    box-shadow: 0 0 10px rgba(1, 148, 70, 0.1) !important;
}

textarea.style-2 {
    height: auto !important;
}

.control-label {
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
    font-size: 14px;
}

.btn.style1 {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    background-color: #019446;
    color: #fff;
    border: none;
    transition: 0.3s;
}

.btn.style1:hover {
    background-color: #017a3a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(1, 148, 70, 0.3);
}

/* Custom Switch */
.custom-switch .custom-control-label::before {
    height: 24px;
    width: 44px;
    border-radius: 12px;
}

.custom-switch .custom-control-label::after {
    width: 20px;
    height: 20px;
    border-radius: 10px;
    background-color: #fff;
}

.form-check-input:checked {
    background-color: #019446;
    border-color: #019446;
}
.form-check-input {
    width: 2.5em;
    height: 1.25em;
    cursor: pointer;
}

/* Pagination */
.pagination-wrap .pagination {
    gap: 8px;
    justify-content: center;
}

.pagination-wrap .pagination li a,
.pagination-wrap .pagination li span {
    border-radius: 12px;
    padding: 10px 18px;
    border: none;
    background: #f8f9fa;
    color: #495057;
    font-weight: 700;
    transition: all 0.3s ease;
}

.pagination-wrap .pagination li.active span {
    background: #019446;
    color: #fff;
    box-shadow: 0 8px 20px rgba(1, 148, 70, 0.3);
}

.pagination-wrap .pagination li a:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

/* Custom Delete Modal */
.modal-confirm {
    color: #636363;
    width: 400px;
}

.modal-confirm .modal-content {
    padding: 20px;
    border-radius: 25px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.modal-confirm .modal-header {
    border-bottom: none;
    position: relative;
    justify-content: center;
    padding: 20px 20px 0;
}

.modal-confirm h4 {
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    margin: 10px 0;
    color: #2d3436;
}

.modal-confirm .close {
    position: absolute;
    top: -5px;
    right: -2px;
}

.modal-confirm .modal-body {
    color: #999;
    text-align: center;
    padding: 20px;
}

.modal-confirm .modal-footer {
    border: none;
    text-align: center;
    justify-content: center;
    padding: 0 20px 20px;
}

.modal-confirm .btn {
    color: #fff;
    border-radius: 12px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s;
    margin: 0 10px;
    min-width: 120px;
    border: none;
}

.modal-confirm .btn-secondary {
    background: #f1f3f5;
    color: #495057;
}

.modal-confirm .btn-secondary:hover {
    background: #e9ecef;
    color: #212529;
}

.modal-confirm .btn-danger {
    background: #ff6b6b;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.modal-confirm .btn-danger:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.modal-confirm .icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    z-index: 9;
    text-align: center;
    border: 3px solid #ff6b6b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-confirm .icon-box i {
    color: #ff6b6b;
    font-size: 46px;
}

/* Agro market form */
.agro-market-upload-field {
    margin-bottom: 30px;
}

.agro-market-existing-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0 0 18px;
    padding: 12px;
    border: 1px dashed rgba(1, 148, 70, 0.35);
    border-radius: 18px;
    background: #fbfffd;
}

.agro-market-existing-card {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #edf1ee;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.agro-market-existing-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.agro-market-existing-delete {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 999px;
    background: rgba(217, 72, 95, 0.96);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    text-transform: lowercase;
    box-shadow: 0 10px 18px rgba(217, 72, 95, 0.25);
    z-index: 4;
    cursor: pointer;
    transition: all 0.2s ease;
}

.agro-market-existing-delete:hover {
    background: #c7364f;
    transform: scale(1.05);
}

.agro-market-existing-delete.is-loading,
.agro-market-existing-delete:disabled {
    opacity: 0.7;
    cursor: wait;
}

.agro-market-upload-field .file-input {
    margin-top: 8px;
    overflow: hidden;
    border: 1px solid #edf1ee;
    border-radius: 20px;
    background: #fff;
}

.agro-market-file-shell {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
}

.agro-market-file-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.agro-market-upload-field .file-drop-zone {
    border: 1px dashed rgba(1, 148, 70, 0.35);
    border-radius: 18px;
    padding: 22px;
    margin: 0;
    min-height: 190px;
    background: #fbfffd;
    transition: all 0.3s ease;
}

.agro-market-upload-field .file-drop-zone.clickable:hover {
    border-color: #019446;
    background: #f3fff8;
}

.agro-market-upload-field .file-drop-zone-title {
    color: #8b9aa5;
    font-size: 16px;
    padding: 54px 12px;
}

.agro-market-upload-field .file-preview {
    margin: 0;
    padding: 8px;
    border-radius: 18px;
    border-color: #edf1ee;
    background: #fbfffd;
}

.agro-market-upload-field .file-preview-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.agro-market-upload-field .file-preview-frame {
    position: relative;
    float: none !important;
    margin: 0 !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #edf1ee !important;
    overflow: hidden;
    padding: 6px !important;
    background: #fff;
}

.agro-market-upload-field .file-upload-indicator,
.agro-market-upload-field .kv-file-upload,
.agro-market-upload-field .kv-file-zoom,
.agro-market-upload-field .file-drag-handle,
 .agro-market-upload-field .file-footer-caption,
 .agro-market-upload-field .file-actions,
 .agro-market-upload-field .file-thumbnail-footer {
    display: none !important;
}

.agro-market-upload-field .btn.style-file-browse,
.agro-market-upload-field .btn.style-file-remove,
.agro-market-upload-field .btn.style-file-cancel {
    width: 156px;
    min-height: 56px;
    border: none !important;
    padding: 0 20px !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.agro-market-upload-field .btn.style-file-browse {
    background-color: #019446 !important;
    color: #fff !important;
}

.agro-market-upload-field .btn.style-file-browse:hover {
    background-color: #017a3a !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(1, 148, 70, 0.25);
}

.agro-market-upload-field .btn.style-file-remove {
    background-color: #ff6b6b !important;
    color: #fff !important;
}

.agro-market-upload-field .btn.style-file-remove:hover {
    background-color: #ff5252 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(255, 107, 107, 0.22);
}

.agro-market-upload-field .btn.style-file-cancel {
    background-color: #f1f3f5 !important;
    color: #495057 !important;
}

.agro-market-upload-field .file-input-new .file-preview {
    border-style: dashed;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .login-form-wrap {
        padding: 30px 20px;
        border-radius: 20px;
    }
    .profile-sidebar-new {
        margin-bottom: 30px;
    }
    .profile-hero-card,
    .profile-hero-main,
    .profile-card-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .profile-overview-grid,
    .profile-settings-grid,
    .profile-info-list,
    .profile-timeline-grid {
        grid-template-columns: 1fr;
    }
    .profile-info-card-wide {
        grid-column: span 1;
    }
    .profile-settings-card-wide {
        grid-column: span 1;
    }
}

@media (max-width: 767px) {
    .custom-table thead {
        display: none; /* Hide headers on mobile for a card-like layout if needed, but table-responsive is better */
    }
    .profile-menu li a {
        padding: 15px 20px;
        font-size: 14px;
    }
    .profile-menu li i {
        font-size: 24px;
        margin-right: 15px;
    }
    .modal-confirm {
        width: 95%;
        margin: 10px auto;
    }
    .action-btn-new {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .product-price-val {
        font-size: 16px;
    }
    .product-name {
        font-size: 14px;
    }
    .profile-hero-card {
        padding: 20px;
        border-radius: 22px;
    }
    .profile-avatar-wrap {
        width: 84px;
        height: 84px;
        flex-basis: 84px;
        border-radius: 24px;
    }
    .profile-avatar-fallback {
        font-size: 32px;
    }
    .profile-hero-copy h3 {
        font-size: 28px;
    }
    .profile-hero-meta span {
        width: 100%;
    }
    .profile-info-card {
        padding: 18px;
        border-radius: 20px;
    }
    .profile-settings-card {
        padding: 18px;
        border-radius: 20px;
    }
    .profile-settings-head h3 {
        font-size: 28px;
    }
    .profile-settings-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    .profile-cancel-btn,
    .profile-settings-actions .btn.style1 {
        width: 100%;
    }
    .profile-avatar-editor .upload-kit-item.image,
    .profile-avatar-editor .upload-kit-input {
        width: 150px;
        height: 150px;
    }
}

/* Delivery Switch Card */
.agro-market-delivery-field {
    clear: both;
}

.delivery-switch-card {
    background: #fff;
    border: 1px solid rgba(1, 148, 70, 0.28);
    border-radius: 20px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 14px 32px rgba(1, 148, 70, 0.08);
}

.delivery-switch-card:hover {
    border-color: #019446;
    box-shadow: 0 18px 40px rgba(1, 148, 70, 0.12);
}

.delivery-info {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 16px;
}

.delivery-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    background: rgba(1, 148, 70, 0.1);
    color: #019446;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.delivery-text {
    min-width: 0;
}

.delivery-text h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #2d3436;
}

.delivery-text p {
    margin: 5px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: #8b9aa5;
}

.custom-premium-switch {
    flex: 0 0 auto;
    width: 64px;
    height: 34px;
    padding-left: 0;
}

.delivery-switch-input {
    position: relative;
    width: 64px !important;
    height: 34px !important;
    display: block;
    margin: 0 !important;
    cursor: pointer;
    border: none;
    border-radius: 999px;
    background: #cfd9d2;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    box-shadow: none !important;
    transition: all 0.25s ease;
}

.delivery-switch-input:before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
    transition: all 0.25s ease;
}

.delivery-switch-input:checked {
    background: #019446 !important;
}

.delivery-switch-input:checked:before {
    transform: translateX(30px);
}

.delivery-switch-input:focus {
    box-shadow: 0 0 0 4px rgba(1, 148, 70, 0.14) !important;
}

@media (max-width: 991px) {
    .agro-market-file-actions {
        justify-content: flex-start;
    }

    .agro-market-upload-field .btn.style-file-browse,
    .agro-market-upload-field .btn.style-file-remove,
    .agro-market-upload-field .btn.style-file-cancel {
        flex: 0 0 auto;
        width: 148px;
    }
}

@media (max-width: 575px) {
    .agro-market-upload-field {
        margin-bottom: 22px;
    }

    .agro-market-existing-gallery {
        gap: 12px;
        padding: 10px;
    }

    .agro-market-existing-card {
        width: calc(50% - 6px);
        height: 150px;
    }

    .agro-market-file-shell {
        padding: 12px;
    }

    .agro-market-file-actions {
        flex-direction: column;
        gap: 10px;
    }

    .agro-market-upload-field .btn.style-file-browse,
    .agro-market-upload-field .btn.style-file-remove,
    .agro-market-upload-field .btn.style-file-cancel {
        width: 140px;
        min-height: 50px;
    }

    .agro-market-upload-field .file-drop-zone {
        min-height: 150px;
        padding: 16px;
    }

    .agro-market-upload-field .file-drop-zone-title {
        padding: 38px 8px;
        font-size: 14px;
    }

    .delivery-switch-card {
        align-items: flex-start;
        padding: 16px;
        border-radius: 18px;
    }

    .delivery-info {
        gap: 12px;
    }

    .delivery-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 14px;
        font-size: 22px;
    }

    .delivery-text h5 {
        font-size: 15px;
    }

    .delivery-text p {
        font-size: 13px;
    }

    .custom-premium-switch,
    .delivery-switch-input {
        width: 56px !important;
        height: 30px !important;
    }

    .delivery-switch-input:before {
        width: 22px;
        height: 22px;
    }

    .delivery-switch-input:checked:before {
        transform: translateX(26px);
    }
}

@media (max-width: 420px) {
    .agro-market-existing-card {
        width: 100%;
        height: 190px;
    }

    .delivery-switch-card {
        flex-direction: column;
    }

    .custom-premium-switch {
        align-self: flex-end;
    }
}

