.gpt-card-wrap {
    margin: 30px auto;
    background-color: #f8f8f84f;
    border-radius: 12px;
    backdrop-filter: blur(7px);
    box-shadow: 0 6px 15px rgba(36, 37, 38, 0.08);
    padding: 16px;
    max-width: 1300px;
    border: 1px solid #ebe6e7;
}

.biz_form_tichdiem {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background-color: #f8f8f84f;
    border-radius: 12px;
    font-family: 'Arial', sans-serif;
    backdrop-filter: blur(7px);
    box-shadow: 0 6px 15px rgba(36, 37, 38, 0.08);
}

.affiliate-section h3 {
    color: #173d7c;
}

.biz_form_tichdiem h2 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 24px;
    color: #dd232b;
}

.biz_form_tichdiem .form-group {
    margin-bottom: 16px;
}

.biz_form_tichdiem input[type="text"],
.biz_form_tichdiem select,
#referrer_phone {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
    min-height: 50px;
    margin-bottom: 0px;
    background-color: #F1F5F7;
    box-shadow: none;
}

.biz_form_tichdiem input[type="text"]:focus,
.biz_form_tichdiem select:focus {
    border-color: transparent;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
    outline: none;
}

.biz_form_tichdiem .btn-group {
    text-align: center;
}

.biz_form_tichdiem button[type="submit"] {
    background: linear-gradient(90deg, rgba(22, 61, 124, 1) 0%, rgba(221, 35, 43, 1) 50%, rgba(22, 61, 124, 1) 100%);
    color: #ffffff;
    padding: 8px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0px;
    width: 100%;
}

.biz_form_tichdiem button[type="submit"]:hover {
    background-color: #0056b3;
}

.biz_form_tichdiem .error-message {
    text-align: center;
    color: red;
    margin-top: 12px;
    font-size: 14px;
}

.prod_item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    overflow: hidden;
}

.prod_item_left img {
    width: 100px;
}

.prod_item_right * {
    margin-bottom: 0px;
    color: #000;
}

#biz_form_tichdiem {
    margin-bottom: 0px;
}

.success-message {
    text-align: center;
    color: green;
}

.prod_item_right h4,
.prod_item_right h5 {
    color: #173c7d;
    font-size: 14px;
}

.prod_item_right p * {
    color: #dd242b !important;
}

.message-success {
    color: green;
    margin: 10px 0px;
    padding: 10px;
    border-radius: 8px;
    background-color: #fff;
}

.field-hint {
    color: #F44336;
}

.affiliate-benefit {
    color: #000;
    margin-bottom: 12px;
}

#affiliate-preview {
    color: #000;
}

.swal2-actions button {
    font-size: 14px !important;
    padding: 8px !important;
    width: 100% !important;
    margin: 0;
    line-height: inherit !important;
    text-transform: uppercase !important;
}

.swal2-actions {
    gap: 8px !important;
    flex-wrap: nowrap;
    width: 100%;
    padding: 0 24px;
}

.swal2-close {
    min-height: inherit;
    line-height: inherit;
}

#swal2-title {
    font-size: 20px;
    color: #dd232b;
}

div#swal2-html-container {
    font-size: 15px;
    color: #000;
    font-weight: 600;
}

.message-success,
#referrer_info {
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid;
    padding: 5px;
    border-radius: 8px;
    background: #bfdbfe;
}

#referrer_info {
    color: #3b82f6 !important;
    border-color: #bfdbfe;
}

.gpt_error_mess {
    max-width: 500px;
    margin: 0 auto;
    padding: 1rem;
    background-color: rgb(254 215 170);
    color: rgb(154 52 18);
    border: 1px solid rgb(217 119 6);
    border-radius: 8px;
    text-align: center;
}

.gpt_error_mess {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.gpt_error_mess img {
    width: 62px;
}

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 50px;
    border: 1px solid transparent;
    background-color: #F1F5F7;
    border-radius: 8px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 50px;
    padding-left: 12px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
}

.select2-results__options {
    padding-left: 0px !important;
}

/* Rank */

.gpt-avatar-circle {
    width: 80px;
    height: 80px;
    background: #e0e0e0;
    border-radius: 50%;
    margin: 0 auto 10px;
    position: relative;
}

.rank-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffc107;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
}

.gpt-name {
    color: var(--fs-color-primary);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.gpt-phone {
    color: var(--fs-color-primary);
    font-size: 14px;
    color: #888;
}

.gpt-points {
    margin-top: 8px;
    background: #e6f6ff;
    color: #007acc;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.gpt-ranking-list .gpt-row {
    display: flex;
    align-items: center;
    background: white;
    padding: 12px 20px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    justify-content: space-between;
}

.gpt-info {
    flex-grow: 1;
    margin-left: 10px;
}

.gpt-points-row {
    font-weight: bold;
    color: #007acc;
}

.gpt-avatar-circle {
    width: 80px;
    height: 80px;
    background: #e0e0e0;
    border-radius: 50%;
    margin: 0 auto 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rank-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffc107;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
}

.gpt-rank-name {
    margin-top: 8px;
    font-size: 14px;
    color: #007acc;
    font-weight: 600;
}

.gpt-rank-small {
    font-size: 13px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #007acc;
}

.rank-icon-small {
    height: 20px;
    width: 20px;
    border-radius: 50%;
}

.gpt-filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.gpt-filter-btn {
    background: #f0f4f8;
    padding: 6px 16px;
    border-radius: 20px;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.gpt-filter-btn:hover {
    background: #e0ebf6;
}

.gpt-filter-btn.active {
    background: #007acc;
    color: white;
}

.gpt-ranking-wrapper {
    background: #fffdfc;
    border-radius: 16px;
    color: #000;
    max-width: 1300px;
    margin: 0 auto;
}

/* Bộ lọc cute */

.gpt-filter-btn {
    background: #ffe9ec;
    color: #d33f6a;
    border-radius: 999px;
    padding: 8px 20px;
    margin: 0 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.gpt-filter-btn:hover {
    background: #ffd2d9;
}

.gpt-filter-btn.active {
    background: #d33f6a;
    color: white;
}

/* Top 3 Cards */
.gpt-ranking-top3 {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 30px;
}

.gpt-card {
    background: #fff0f5;
    border-radius: 20px;
    padding: 20px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.gpt-card:nth-child(2) {
    order: 1;
}

.gpt-card:nth-child(3) {
    order: 3;
}

.gpt-card.first-place {
    order: 2;
    transform: translateY(-20px);
    z-index: 2;
    box-shadow: 0 6px 14px rgba(211, 63, 106, 0.2);
    background: #ffe4ec;
}

.gpt-avatar-circle {
    width: 90px;
    height: 90px;
    margin: 0 auto 10px;
    background: #ffe0ea;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gpt-avatar-circle img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.rank-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffb6c1;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gpt-name {
    font-size: 18px;
    font-weight: 700;
    color: #d33f6a;
}

.gpt-phone {
    font-size: 14px;
    font-weight: 600;
    color: var(--fs-color-primary);
}

.gpt-points {
    margin-top: 10px;
    background: #fff7f9;
    color: #d33f6a;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.gpt-rank-name {
    font-size: 14px;
    margin-top: 6px;
    color: #d33f6a;
}

/* .glow-effect {
    position: relative;
    z-index: 1;
    animation: glow-pulse 2.5s ease-in-out infinite;
    box-shadow: 0 0 20px #ffb6c1, 0 0 40px #ff69b4, 0 0 60px #ff1493;
    border-radius: 50%;
}

@keyframes glow-pulse {
    0% {
        box-shadow: 0 0 12px rgba(255, 183, 197, 0.7);
    }
    50% {
        box-shadow: 0 0 24px rgba(255, 183, 197, 1), 0 0 40px rgba(255, 183, 197, 0.4);
    }
    100% {
        box-shadow: 0 0 12px rgba(255, 183, 197, 0.7);
    }
} */


/* List phần còn lại */
.gpt-ranking-list .gpt-row {
    background: #fffafc;
    padding: 12px 16px;
    border-radius: 16px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.gpt-rank {
    font-weight: bold;
    color: #ff6b81;
    width: 40px;
    text-align: center;
}

.gpt-info {
    flex: 1;
    margin-left: 10px;
}

.gpt-rank-small {
    font-size: 13px;
    margin-top: 4px;
    color: #d33f6a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rank-icon-small {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.gpt-points-row {
    font-weight: bold;
    color: #d33f6a;
}

.gpt-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
}

.gpt-toggle-label {
    font-weight: 500;
    font-size: 14px;
    flex: 1;
    margin-bottom: 0px;
}

.gpt-toggle-switch {
    position: relative;
    width: 44px;
    height: 28px;
    margin-bottom: 0px;
}

.gpt-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.gpt-toggle-switch .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 26px;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
}

.gpt-toggle-switch .slider:before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: #eee;
    transition: 0.4s;
    border-radius: 50%;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.gpt-toggle-switch input:checked+.slider {
    background: linear-gradient(to right, #11c55f, #08a844);
}

.gpt-toggle-switch input:checked+.slider:before {
    transform: translateX(16px);
}

.gpt-lookup-form {
    max-width: 75%;
    margin: 30px auto;
    background: #fff;
    border: 1px solid #e1e1e1;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    font-family: 'Segoe UI', sans-serif;
}

.gpt-lookup-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.gpt-lookup-form h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

#lookup-store-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gpt-lookup-form select {
    flex: 1;
    padding: 8px 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f9f9f9;
    min-width: 250px;
}

.gpt-lookup-form .button {
    margin: 0px;
    padding: 8px 18px;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
}

#gpt_store_result {
    margin-top: 20px;
    background: #f6f6f6;
    padding: 15px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 15px;
    color: #222;
}

#gpt_store_result * {
    color: #000;
}

.box_info {
    gap: 16px;
    justify-content: center;
}

.box_info>div {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 100px;
    border-radius: 9px;
    padding: 16px;
    border: 1px solid #ebe6e7;
    color: #000;
    justify-content: center;
    text-align: center;
    flex: 0 0 150px;
}

.box_info>div span {
    font-size: 14px;
    color: #173d7c;
}

.table.bordered * {
    color: #000;
}

#search_result h4 {
    color: var(--fs-color-primary);
}

.gpt-lookup-form-container h3 {
    font-size: 24px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.btn-gradient {
    background: linear-gradient(90deg, rgba(22, 61, 124, 1) 0%, rgba(221, 35, 43, 1) 50%, rgba(22, 61, 124, 1) 100%);
    border-radius: 8px;
}

.div-chuyen-huong-mes {
    color: #163d7c;
    overflow: hidden;
    position: relative;
}

.div-chuyen-huong-mes .content {
    z-index: 3;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.div-chuyen-huong-mes .logo {
    width: 220px;
    margin-bottom: 30px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.div-chuyen-huong-mes .message {
    font-size: 22px;
    max-width: 566px;
    margin-bottom: 30px;
    text-align: center;
    color: #163d7c;
}

.div-chuyen-huong-mes .btn {
    position: relative;
    overflow: hidden;
    padding: 17px 36px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 40px;
    background: #163d7c;
    color: white;
    box-shadow: 0 0 10px rgba(22, 61, 124, 0.4);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.div-chuyen-huong-mes .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 18px rgba(22, 61, 124, 0.6);
}

.div-chuyen-huong-mes .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    transform: skewX(-20deg);
    z-index: 0;
    animation: shine 2.5s infinite;
}

@keyframes shine {
    0% {
        left: -75%;
    }

    50%,
    100% {
        left: 100%;
    }
}

.div-chuyen-huong-mes .cow-image {
    width: 220px;
    margin-top: 40px;
    opacity: 0;
    transform: scale(0.9) rotate(0deg);
    animation: appearCow 0.8s ease-out 2.6s forwards, shake 4s ease-in-out infinite 3.4s;
    transition: transform 0.3s ease;
}

@keyframes appearCow {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shake {
    0% {
        transform: scale(1) rotate(0deg);
    }

    25% {
        transform: scale(1.02) rotate(-1.5deg);
    }

    50% {
        transform: scale(1.02) rotate(1.5deg);
    }

    75% {
        transform: scale(1.01) rotate(-1deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

.div-chuyen-huong-mes .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0px;
}

.div-chuyen-huong-mes .btn img {
    width: 22px;
    height: 22px;
    display: block;
}

/* Warranty Lookup Form Styles */
.warranty-lookup-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #374151;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    min-height: 100vh;
    padding: 0;
    margin: 0 -20px;
}

/* Header Styles */
.warranty-lookup-header {
    background: white;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.warranty-lookup-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
}

.warranty-lookup-header-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0EA5E9, #0284C7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
}

.warranty-lookup-header-text h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    color: #111827;
}

.warranty-lookup-header-text p {
    font-size: 1rem;
    margin: 0.25rem 0 0 0;
    color: #6B7280;
}

/* Search Section */
.warranty-lookup-search-section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.warranty-lookup-search-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #E5E7EB;
    padding: 2rem;
}

.warranty-lookup-search-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.warranty-lookup-input-group {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

@media (max-width: 640px) {
    .warranty-lookup-input-group {
        flex-direction: column;
        gap: 1rem;
    }
}

.warranty-lookup-input-wrapper {
    position: relative;
    flex: 1;
}

.warranty-lookup-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #D1D5DB;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s;
    background: white;
    box-sizing: border-box;
}

.warranty-lookup-input:focus {
    outline: none;
    border-color: #0EA5E9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.warranty-lookup-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    pointer-events: none;
}

.warranty-lookup-help-text {
    font-size: 0.875rem;
    color: #6B7280;
    margin: 0;
    text-align: center;
}

/* Buttons */
.warranty-lookup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    gap: 0.5rem;
    white-space: nowrap;
}

.warranty-lookup-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.warranty-lookup-btn-search {
    background: linear-gradient(135deg, #0EA5E9, #0284C7);
    color: white;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
    min-width: 120px;
}

.warranty-lookup-btn-search:hover:not(:disabled) {
    background: linear-gradient(135deg, #0284C7, #0369A1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.warranty-lookup-btn-primary {
    background: linear-gradient(135deg, #0EA5E9, #0284C7);
    color: white;
}

.warranty-lookup-btn-secondary {
    background: #F3F4F6;
    color: #374151;
    border: 1px solid #D1D5DB;
}

.warranty-lookup-btn-pagination {
    background: white;
    color: #374151;
    border: 1px solid #D1D5DB;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.warranty-lookup-spinner {
    animation: spin 1s linear infinite;
}

/* Results Section */
.warranty-lookup-results-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

@media (max-width: 1024px) {
    .warranty-lookup-results-section {
        grid-template-columns: 1fr;
    }
}

.warranty-lookup-customer-card,
.warranty-lookup-warranties-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #E5E7EB;
    padding: 1.5rem;
}

.warranty-lookup-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    color: #111827;
}

.warranty-lookup-section-title svg {
    margin-right: 0.5rem;
    color: #0EA5E9;
}

.warranty-lookup-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    background: #0EA5E9;
    color: white;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 0.5rem;
    padding: 0 0.5rem;
}

/* Customer Info */
.warranty-lookup-customer-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.warranty-lookup-info-row {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 0.5rem 0;
    border-bottom: 1px solid #F3F4F6;
}

.warranty-lookup-info-row:last-child {
    border-bottom: none;
}

.warranty-lookup-info-label {
    font-weight: 500;
    color: #6B7280;
    flex-shrink: 0;
    width: 140px;
}

.warranty-lookup-info-value {
    color: #111827;
    text-align: right;
    word-break: break-word;
}

/* Warranty List */
.warranty-lookup-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.warranty-lookup-item {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s;
}

.warranty-lookup-item:hover {
    border-color: #0EA5E9;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

.warranty-lookup-item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.warranty-lookup-item-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.warranty-lookup-item-code {
    font-family: monospace;
    font-size: 0.875rem;
    color: #6B7280;
    margin: 0.25rem 0 0 0;
}

.warranty-lookup-status {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.warranty-lookup-status.status-active {
    background: #D1FAE5;
    color: #065F46;
}

.warranty-lookup-status.status-invalid {
    background: #F3F4F6;
    color: #374151;
}

.warranty-lookup-status.status-expired {
    background: #FEE2E2;
    color: #991B1B;
}

.warranty-lookup-status.status-pending {
    background: #FEF3C7;
    color: #92400E;
}

.warranty-lookup-item-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 640px) {
    .warranty-lookup-item-details {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

.warranty-lookup-item-detail {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.warranty-lookup-item-detail-label {
    color: #6B7280;
}

.warranty-lookup-item-detail-value {
    color: #111827;
    font-weight: 500;
}

.warranty-lookup-item-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.warranty-lookup-item-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 8px;
    border: 1px solid #D1D5DB;
    background: white;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
}

.warranty-lookup-item-btn:hover {
    background: #F9FAFB;
    border-color: #0EA5E9;
    color: #0EA5E9;
}

/* Pagination */
.warranty-lookup-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E5E7EB;
}

.warranty-lookup-page-info {
    font-size: 0.875rem;
    color: #6B7280;
}

/* No Results */
.warranty-lookup-no-results {
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.warranty-lookup-no-results-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #E5E7EB;
    padding: 3rem;
    text-align: center;
}

.warranty-lookup-no-results-icon {
    margin: 0 auto 1.5rem auto;
    color: #9CA3AF;
}

.warranty-lookup-no-results-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.75rem 0;
}

.warranty-lookup-no-results-content p {
    color: #6B7280;
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.warranty-lookup-no-results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 640px) {
    .warranty-lookup-no-results-actions {
        flex-direction: column;
    }
}

/* Recent Section */
.warranty-lookup-recent-section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.warranty-lookup-recent-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #E5E7EB;
    padding: 1.5rem;
}

.warranty-lookup-recent-tips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 640px) {
    .warranty-lookup-recent-tips {
        grid-template-columns: 1fr;
    }
}

.warranty-lookup-tip-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #F8FAFC;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #374151;
}

.warranty-lookup-tip-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Modal Styles */
.warranty-lookup-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.warranty-lookup-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.warranty-lookup-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #E5E7EB;
}

.warranty-lookup-modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #111827;
}

.warranty-lookup-modal-close {
    background: none;
    border: none;
    color: #6B7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.warranty-lookup-modal-close:hover {
    background: #F3F4F6;
    color: #374151;
}

.warranty-lookup-modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.warranty-lookup-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #E5E7EB;
    background: #F9FAFB;
}

/* Detail Modal Content */
.warranty-detail-section {
    margin-bottom: 2rem;
}

.warranty-detail-section:last-child {
    margin-bottom: 0;
}

.warranty-detail-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
}

.warranty-detail-section h4 svg {
    margin-right: 0.5rem;
    color: #0EA5E9;
}

.warranty-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 640px) {
    .warranty-detail-grid {
        grid-template-columns: 1fr;
    }
}

.warranty-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: #F8FAFC;
    border-radius: 8px;
    font-size: 0.875rem;
}

.warranty-detail-label {
    color: #6B7280;
    font-weight: 500;
}

.warranty-detail-value {
    color: #111827;
    font-weight: 600;
    text-align: right;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Print Styles */
@media print {
    .warranty-lookup-modal-header,
    .warranty-lookup-modal-footer {
        display: none !important;
    }
    
    .warranty-lookup-modal-content {
        box-shadow: none;
        max-height: none;
        overflow: visible;
    }
    
    .warranty-lookup-modal-body {
        padding: 0;
        max-height: none;
        overflow: visible;
    }
}

/* Focus styles for accessibility */
.warranty-lookup-btn:focus,
.warranty-lookup-input:focus,
.warranty-lookup-item-btn:focus {
    outline: 2px solid #0EA5E9;
    outline-offset: 2px;
}

/* Loading states */
.warranty-lookup-loading {
    position: relative;
    pointer-events: none;
}

.warranty-lookup-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .warranty-lookup-container {
        margin: 0 -10px;
    }
    
    .warranty-lookup-header-content {
        padding: 1rem;
    }
    
    .warranty-lookup-header-text h1 {
        font-size: 1.5rem;
    }
    
    .warranty-lookup-search-section,
    .warranty-lookup-results-section,
    .warranty-lookup-recent-section {
        padding: 0 1rem;
    }
    
    .warranty-lookup-search-card {
        padding: 1.5rem;
    }
}