.e2s-warranty-container {
    background: linear-gradient(135deg, #6B46C1 0%, #8B5CF6 100%);
    border-radius: 16px;
    padding: 32px 20px;
    max-width: 420px;
    margin: 40px auto;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.e2s-warranty-form {
    text-align: center;
}
.e2s-product-banner img{
    max-width: 200px;
}

.e2s-header-text {
    color: #fff;
    text-align: center;
    font-size: 18px;
    margin-bottom: 24px;
    font-weight: 500;
}
.e2s-warranty-form label {
    color: #fff;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}
.e2s-warranty-form input[type="text"] {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: rgba(255,255,255,0.85);
    margin-bottom: 16px;
    font-size: 16px;
}
.e2s-warranty-form button {
    background: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.e2s-warranty-form button:hover {
    background: #333;
}
.e2s-result-container {
    margin-top: 24px;
}
.e2s-error-message {
    color: #EF4444;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
}
.e2s-result-activated {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}
.e2s-product-banner {
    text-align: center;
    margin-bottom: 20px;
}
.e2s-info-table {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
}
.e2s-warranty-status {
    color: #059669;
    font-weight: bold;
}
/* Modal styles */
.e2s-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.e2s-activation-modal {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 32px 24px;
    max-width: 380px;
    width: 100%;
    position: relative;
}
.e2s-activation-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.e2s-activation-modal .close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}
.e2s-activation-modal .form-group {
    margin-bottom: 14px;
}
.e2s-activation-modal label {
    font-weight: 500;
    margin-bottom: 4px;
    display: block;
}
.e2s-activation-modal input,
.e2s-activation-modal select {
    width: 100%;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 15px;
}
.e2s-activation-modal .register-btn {
    background: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}
/* Layout 3 cột cho màn hình check mã */
.e2s-warranty-check-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background: linear-gradient(135deg, #6B46C1 0%, #8B5CF6 100%);
    border-radius: 16px;
    padding: 40px 20px;
    max-width: 1000px;
    margin: 40px auto;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.e2s-warranty-col {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 180px;
}
.e2s-warranty-col-center {
    flex: 1.5 1 0;
    min-width: 260px;
}
.e2s-warranty-img {
    max-width: 120px;
    max-height: 120px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 8px;
}
.e2s-warranty-warning-text {
    color: #fff;
    font-size: 15px;
    text-align: center;
    margin-top: 8px;
    font-weight: 500;
}
.e2s-warranty-distributor-text {
    color: #fff;
    font-size: 16px;
    text-align: center;
    margin-top: 12px;
    font-weight: 500;
}
/* Responsive */
@media (max-width: 900px) {
    .e2s-warranty-check-layout {
        flex-direction: column;
        gap: 18px;
        padding: 28px 8px;
    }
    .e2s-warranty-col {
        min-width: 0;
    }
    .e2s-warranty-img {
        max-width: 90px;
        max-height: 90px;
    }
}

/* Đăng ký bảo hành thủ công */
.e2s-warranty-register-layout {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(107,70,193,0.08);
    max-width: 420px;
    margin: 32px auto;
    padding: 32px 28px 28px 28px;
    font-family: inherit;
}
.e2s-warranty-title {
    text-align: center;
    color: #222;
    font-weight: bold;
    margin-bottom: 24px;
}
.e2s-warranty-register-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: #374151;
    font-size: 15px;
}
.e2s-warranty-register-form input[type="text"],
.e2s-warranty-register-form input[type="tel"],
.e2s-warranty-register-form select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    margin-bottom: 18px;
    font-size: 16px;
    background: #fafaff;
    transition: border 0.2s;
}
.e2s-warranty-register-form input:focus,
.e2s-warranty-register-form select:focus {
    border-color: #8B5CF6;
    outline: none;
}
.e2s-register-btn {
    width: 100%;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 18px;
    letter-spacing: 0.5px;
}
.e2s-register-btn:hover {
    background: #6B46C1;
}
.e2s-register-result {
    margin-top: 24px;
}
@media (max-width: 600px) {
    .e2s-warranty-register-layout {
        padding: 18px 8px 18px 8px;
        max-width: 98vw;
    }
    .e2s-warranty-title {
        font-size: 1.3em;
    }
    .e2s-register-btn {
        font-size: 16px;
        padding: 10px 0;
    }
} 