@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul {
    list-style: disc;
}

ul li {
    margin-bottom: 0.5rem;
}

ol {
    list-style: decimal;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video {
    display: block;
    max-width: 100%;
}

input,
button,
select,
textarea {
    font-family: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

:root {
    /* ========== NEUTRAL COLORS ========== */
    --clr-white: #FFFFFF;
    --clr-black: #000000;

    /* ========== GRAYSCALE PALETTE ========== */
    --clr-gray-50: #FAFAFA;
    --clr-gray-100: #F5F5F5;
    --clr-gray-200: #E5E5E5;
    --clr-gray-300: #D4D4D4;
    --clr-gray-400: #A3A3A3;
    --clr-gray-500: #737373;
    --clr-gray-600: #525252;
    --clr-gray-700: #404040;
    --clr-gray-800: #262626;
    --clr-gray-900: #171717;

    /* ========== STATUS COLORS ========== */
    --clr-success: #16a34a;
    --clr-error: #dc2626;
    --clr-warning: #ea580c;
    --clr-info: #2563eb;

    /* ========== SEMANTIC COLORS ========== */
    --clr-primary: var(--clr-gray-600);
    --clr-secondary: var(--clr-gray-900);
    --clr-background: var(--clr-white);
    --clr-text: var(--clr-gray-900);
    --clr-text-muted: var(--clr-gray-500);
    --clr-border: var(--clr-gray-200);
    --clr-border-dark: var(--clr-gray-300);
    --clr-hover: var(--clr-gray-100);
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    background-color: var(--clr-white);
    color: var(--clr-gray-900);
}

/* ============ HEADER ============ */
.nav-link {
    position: relative;
    padding-bottom: 4px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.nav-link:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-black);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active::after {
    width: 100%;
}

/* ============ MOBILE MENU OVERLAY ============ */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--clr-white);
    z-index: 40;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    border-left: 1px solid var(--clr-gray-200);
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 0;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    color: var(--clr-gray-900);
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    border-bottom: 1px solid var(--clr-gray-200);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(30px);
}

.mobile-menu-overlay.active .mobile-menu-link {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-overlay.active .mobile-menu-link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-menu-link:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu-overlay.active .mobile-menu-link:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-menu-link:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-menu-link:hover {
    color: var(--clr-black);
    padding-left: 12px;
}

.mobile-menu-link:active {
    transform: scale(0.98);
}

body.menu-open {
    overflow: hidden;
}



/* ============ COMMON ============ */
.main-container {
    padding: 4rem 6rem;
    max-width: 100vw;
    width: 100%;
    margin: auto;
}

.form-field {
    padding: 14px 0;
    border: none;
    border-bottom: 1.5px solid var(--clr-gray-300);
    outline: none;
    background: transparent;
    color: var(--clr-gray-900);
    font-size: 0.9375rem;
    transition: border-color 0.3s ease;
}

.form-field:focus {
    border-bottom-color: var(--clr-black);
}

.form-field::placeholder {
    color: var(--clr-gray-400);
}

select.form-field {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23737373' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 24px;
}

/* ============ REGISTER PAGE ============ */
.section-title {
    position: relative;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 60px;
    height: 2px;
    background: var(--clr-black);
}


.upload-area {
    border: 2px dashed var(--clr-gray-300);
    border-radius: 8px;
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--clr-gray-50);
}

.upload-area:hover {
    border-color: var(--clr-gray-900);
    background-color: var(--clr-white);
}

.upload-area.drag-over {
    border-color: var(--clr-black);
    background-color: var(--clr-gray-100);
    transform: scale(1.01);
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.upload-icon {
    width: 48px;
    height: 48px;
    color: var(--clr-gray-400);
    margin-bottom: 8px;
}

.upload-text {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--clr-gray-900);
}

.upload-subtext {
    font-size: 0.8125rem;
    color: var(--clr-gray-500);
    font-weight: 400;
}


.file-preview {
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    padding: 20px;
    background-color: var(--clr-white);
    margin-top: 16px;
}

.file-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.file-icon {
    width: 48px;
    height: 48px;
    background-color: var(--clr-gray-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-icon svg {
    color: var(--clr-primary);
}

.btn-replace {
    padding: 10px 20px;
    background-color: var(--clr-white);
    color: var(--clr-text);
    border: 1px solid var(--clr-border-dark);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-replace:hover {
    background-color: var(--clr-gray-50);
    border-color: var(--clr-gray-400);
}

.btn-remove {
    padding: 10px;
    background-color: var(--clr-white);
    color: var(--clr-text);
    border: 1px solid var(--clr-border-dark);
    border-radius: 6px;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-remove:hover {
    background-color: var(--clr-gray-100);
    border-color: var(--clr-gray-400);
}

.image-preview {
    margin-top: 16px;
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    object-fit: contain;
    border: 1px solid var(--clr-border);
}

.file-error {
    color: var(--clr-gray-900);
    font-size: 0.875rem;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.file-error::before {
    content: '⚠';
}


.table-wrapper {
    background: var(--clr-gray-50);
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: var(--clr-gray-100);
    border-bottom: 1px solid var(--clr-border);
}

th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--clr-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

th.sortable {
    cursor: pointer;
    user-select: none;
    position: relative;
}

th.sortable::after {
    content: '▼';
    font-size: 0.625rem;
    color: var(--clr-gray-400);
    margin-left: 0.5rem;
    opacity: 0.5;
}

tbody tr {
    border-bottom: 1px solid var(--clr-border);
    transition: background-color 0.2s ease;
}

tbody tr:hover {
    background: var(--clr-gray-100);
}

tbody tr:last-child {
    border-bottom: none;
}

td {
    padding: 1.25rem;
    font-size: 0.875rem;
    color: var(--clr-gray-700);
    vertical-align: middle;
}

.product-cell {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.invoice-thumb {
    position: relative;
    width: 48px;
    height: 56px;
    background: var(--clr-white);
    border: 1px solid var(--clr-border-dark);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    overflow: hidden;
}

.invoice-thumb:hover .invoice-preview {
    opacity: 1;
    z-index: 10;
}

.invoice-thumb:hover p {
    opacity: 1;
    z-index: 15;
}

.invoice-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.2s ease;
    background: var(--clr-gray-100);
}

.invoice-thumb p {
    /* width:'10px'; */
    position: absolute;
    inset: 0;
    opacity: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 400;
    transition: opacity 0.2s ease;
    cursor: pointer;
    border-radius: 6px;
    z-index: 12;
    font-size: 11px;
    margin: 0;
    padding: 0;
}

.invoice-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 4px;
    position: relative;
    z-index: 5;
}

.invoice-label {
    font-size: 0.625rem;
    color: var(--clr-gray-500);
    font-weight: 500;
    position: relative;
    z-index: 5;
}

.product-name {
    font-weight: 500;
    color: var(--clr-secondary);
}

.warranty-number {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--clr-black);
    font-size: 0.8125rem;
}

.warranty-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.copy-icon {
    cursor: pointer;
    color: var(--clr-gray-400);
    transition: color 0.2s ease, transform 0.1s ease;
}

.copy-icon:hover {
    color: var(--clr-info);
    transform: scale(1.1);
}

.copy-icon.copied {
    color: var(--clr-success);
}

.badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
}

.badge-category {
    background: var(--clr-gray-100);
    color: var(--clr-gray-700);
    border: 1px solid var(--clr-border);
}

.badge-status {
    background: var(--clr-gray-100);
    color: var(--clr-secondary);
    border: 1px solid var(--clr-border-dark);
}

.badge-calculating {
    background: var(--clr-gray-200);
    color: var(--clr-primary);
}

.date-range {
    color: var(--clr-primary);
    font-size: 0.8125rem;
}

.actions {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.plus-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--clr-black);
    /* blue */
}

.plus-btn svg {
    width: 22px;
    height: 22px;
}

/* ============ CLAIM BUTTON TOOLTIP ============ */
.claim-btn {
    position: relative;
}

.claim-tooltip-text {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-black);
    color: var(--clr-white);
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
}

.claim-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #111827 transparent transparent transparent;
}

.claim-btn:hover .claim-tooltip-text {
    opacity: 1;
}

.plus-btn {
    position: relative;
}

.action-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-black);
    color: var(--clr-white);
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
    z-index: 1000;
}

.tooltip-arrow {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: var(--clr-black) transparent transparent transparent;
}

.plus-btn:hover .action-tooltip {
    opacity: 1;
}

.claim-tooltip {
    position: absolute;
    top: 130%;
    right: 0;
    background: var(--clr-black);
    color: var(--clr-white);
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: 0.2s ease;


}

.claim-tooltip::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 12px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #111827 transparent;
}

.actions.show .claim-tooltip {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}


.action-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--clr-border-dark);
    background: var(--clr-white);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.action-btn:hover {
    background: var(--clr-gray-100);
    border-color: var(--clr-gray-400);
}

.action-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--clr-primary);
}

.info-btn {
    border-color: var(--clr-info);
}

.info-btn:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--clr-info);
}

.info-btn svg {
    stroke: var(--clr-info);
}

.badge-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--clr-black);
    color: var(--clr-white);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 0.625rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--clr-gray-50);
}

.pagination-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--clr-border);
    background: var(--clr-white);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--clr-primary);
    font-size: 0.875rem;
}

.pagination-btn:hover:not(.active) {
    background: var(--clr-gray-100);
    border-color: var(--clr-border-dark);
}

.pagination-btn.active {
    background: var(--clr-black);
    color: var(--clr-white);
    border-color: var(--clr-black);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}



/* ============ FOOTER ============ */
footer {
    background-color: var(--clr-gray-900);
    border-top: 1px solid var(--clr-gray-800);
}

footer h3,
footer h4 {
    color: var(--clr-white);
}

footer p,
footer a {
    color: var(--clr-gray-400);
}

footer a:hover {
    color: var(--clr-white);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--clr-success);
    color: var(--clr-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: var(--clr-success);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.whatsapp-float:active {
    transform: translateY(-2px);
}



/* ============ REGISTER CLAIM ============ */
.steps-container {
    padding: 2rem;
    background: var(--clr-gray-50);
    border-radius: 8px;
}

.step {
    text-align: center;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--clr-gray-200);
    color: var(--clr-gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    margin: 0 auto 0.5rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--clr-black);
    color: white;
}

.step-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--clr-gray-900);
    margin-bottom: 0.25rem;
}

.step-sublabel {
    font-size: 0.75rem;
    color: var(--clr-gray-500);
    line-height: 1.4;
}

.step-line {
    height: 2px;
    background: var(--clr-gray-300);
    flex: 0.5;
    margin: 0 1rem;
}

.claim-form-section {
    position: relative;
}

.warranty-info-badge {
    position: absolute;
    right: 0;
    top: -50px;
    display: flex;
    align-items: center;
}

.warranty-info-badge.hidden {
    display: none;
}

.warranty-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--clr-black);
    border: 1px solid var(--clr-black);
    border-radius: 20px;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.warranty-badge-btn:hover {
    background: var(--clr-gray-800);
    border-color: var(--clr-gray-800);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.error-message {
    color: var(--clr-error);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

.error-message.hidden {
    display: none;
}

.upload-area {
    border: 2px dashed var(--clr-border-dark);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--clr-gray-50);
}

.upload-area:hover {
    border-color: var(--clr-black);
    background: var(--clr-gray-100);
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.upload-icon {
    width: 48px;
    height: 48px;
    color: var(--clr-gray-400);
}

.upload-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--clr-gray-900);
}

.upload-subtext {
    font-size: 0.875rem;
    color: var(--clr-gray-500);
}

.file-preview {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--clr-gray-50);
    border-radius: 8px;
}

.file-preview.hidden {
    display: none;
}

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

.file-icon {
    color: var(--clr-gray-400);
}

.btn-replace,
.btn-remove {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-replace {
    background: var(--clr-gray-100);
    color: var(--clr-gray-900);
    border: 1px solid var(--clr-gray-300);
}

.btn-replace:hover {
    background: var(--clr-gray-200);
}

.btn-remove {
    background: transparent;
    color: var(--clr-error);
    border: 1px solid var(--clr-error);
}

.btn-remove:hover {
    background: rgba(220, 38, 38, 0.1);
}

.image-preview {
    max-width: 200px;
    height: auto;
    border-radius: 6px;
    margin-top: 1rem;
}

.image-preview.hidden {
    display: none;
}

.file-error {
    color: var(--clr-error);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.file-error.hidden {
    display: none;
}


/* ============ TOAST NOTIFICATION ============ */
.toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
    pointer-events: auto;
    min-width: 300px;
    max-width: 500px;
}

.toast.success {
    background-color: var(--clr-success);
    color: var(--clr-white);
}

.toast.error {
    background-color: var(--clr-error);
    color: var(--clr-white);
}

.toast.info {
    background-color: var(--clr-info);
    color: var(--clr-white);
}

.toast.warning {
    background-color: var(--clr-warning);
    color: var(--clr-white);
}

.toast-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.toast-message {
    font-size: 0.875rem;
    font-weight: 500;
    flex: 1;
}

.toast-close {
    background: none;
    border: none;
    color: var(--clr-white);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.toast-close:hover {
    opacity: 1;
}

.toast.removing {
    animation: slideOut 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ============ Contact ============ */

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.form-section {
    background: var(--clr-white);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--clr-gray-700);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border: 1.5px solid var(--clr-border-dark);
    background: transparent;
    color: var(--clr-text);
    font-size: 0.9375rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;

    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */

}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--clr-gray-400);
}

.form-input:focus,
.form-textarea:focus {
    border-bottom-color: var(--clr-black);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--clr-black);
    color: var(--clr-white);
    border: none;
    padding: 0.875rem 2.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--clr-gray-800);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.submit-btn:active {
    transform: translateY(0);
}

.success-message {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--clr-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--clr-white);
    stroke-width: 3;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: 0.5rem;
}

.success-text {
    color: var(--clr-text-muted);
    font-size: 0.9375rem;
}

.location-section {
    position: relative;
}

.location-icon {
    width: 48px;
    height: 48px;
    background: var(--clr-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.location-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--clr-gray-700);
    stroke-width: 2;
}

.location-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.location-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: var(--clr-black);
}

.location-subtitle {
    color: var(--clr-text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.address-card {
    background: var(--clr-gray-50);
    border: 1.5px dashed var(--clr-border-dark);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.address-name {
    font-weight: 600;
    color: var(--clr-text);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.address-line {
    color: var(--clr-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.qr-section {
    text-align: center;
}

.qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
    background: var(--clr-white);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--clr-border);
}

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

.qr-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--clr-text-muted);
    font-size: 0.875rem;
}

.qr-label svg {
    width: 16px;
    height: 16px;
    fill: var(--clr-error);
}

/* Hidden class */
/* .hidden {
    display: none;
} */


/* ============ RESPONSIVE ============ */



@media (max-width: 1200px) {
    .mobile-menu-overlay {
        display: none;
    }

    .table-wrapper {
        overflow-x: auto;
    }

    table {
        min-width: 1000px;
    }

}

@media (max-width: 768px) {

    /* General */
    .main-container {
        padding: 3rem 1.5rem;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 1.5rem;
        height: 1.5rem;
    }

    .upload-area {
        padding: 2rem 1rem;
    }

    .file-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .file-info .flex {
        width: 100%;
    }

    .section-title {
        font-size: 0.8125rem;
    }

    /* Claim page - Steps */
    .steps-container {
        padding: 1rem;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
        margin: 0 auto 0.25rem;
    }

    .step-label {
        font-size: 0.75rem;
    }

    .step-sublabel {
        font-size: 0.625rem;
        line-height: 1.3;
    }

    .step-line {
        margin: 0 0.5rem;
    }

    .steps-container .flex {
        gap: 0.5rem;
    }

    .warranty-info-badge {
        position: relative;
        top: auto;
        margin-top: 0.75rem;
        right: auto;
    }

    .warranty-badge-btn {
        width: 100%;
        justify-content: center;
    }

    /* Modal responsive */
    #warrantyModal {
        padding: 1rem;
    }

    #warrantyModal .bg-white {
        border-radius: 12px;
    }

    #warrantyModal .grid {
        grid-template-columns: 1fr;
    }

    #modalWarrantyImage {
        max-width: 100%;
        height: auto;
    }

    .toast-container {
        top: 1rem;
        right: 1rem;
        left: 1rem;
    }

    .toast {
        min-width: auto;
        max-width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 640px) {
    .steps-container {
        padding: 0.75rem;
    }

    .step {
        flex: 0 1 auto;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.65rem;
    }

    .step-label {
        font-size: 0.65rem;
        display: none;
    }

    .step-sublabel {
        font-size: 0.55rem;
        line-height: 1.2;
    }

    .step-line {
        margin: 0 0.25rem;
        flex: 0.3;
    }

    .warranty-info-badge {
        margin-top: 0.5rem;
    }


    #warrantyModal {
        padding: 1rem;
    }

    #warrantyModal .bg-white {
        border-radius: 12px;
    }

    #warrantyModal .grid {
        grid-template-columns: 1fr;
    }

    #modalWarrantyImage {
        max-width: 100%;
        height: auto;
    }

    .upload-area {
        padding: 2rem 1rem;
    }

    .file-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .file-info .flex {
        width: 100%;
    }

    .section-title {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .steps-container {
        padding: 0.5rem;
    }

    .step {
        padding: 0 0.25rem;
    }

    .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.6rem;
    }

    .step-line {
        margin: 0;
        flex: 0.25;
    }

    .step-sublabel {
        font-size: 0.5rem;
        line-height: 1.1;
        display: none;
    }

    .warranty-badge-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }

    #warrantyModal .p-6 {
        padding: 1rem;
    }

    #warrantyModal h3 {
        font-size: 1rem;
    }

    .upload-area {
        padding: 1.5rem 1rem;
    }

    .upload-icon {
        width: 40px;
        height: 40px;
    }

    .upload-text {
        font-size: 0.875rem;
    }

    .upload-subtext {
        font-size: 0.75rem;
    }

    .toast-container {
        top: 1rem;
        right: 1rem;
        left: 1rem;
    }

    .toast {
        min-width: auto;
        max-width: 100%;
    }
}