.wrap h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.warranty-instructions {
    margin-bottom: 30px;
}

.warranty-instructions h3 {
    color: #2c3e50;
    font-size: 22px;
    margin-bottom: 15px;
}

.instruction-box {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.instruction-box h4 {
    color: #3498db;
    font-size: 18px;
    margin: 15px 0 10px;
}

.instruction-box h4:first-child {
    margin-top: 0;
}

.instruction-box ol {
    margin-left: 20px;
    color: #34495e;
}

.instruction-box li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.instruction-box p {
    color: #34495e;
    line-height: 1.6;
    margin: 10px 0;
}

.shortcode-box {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 15px;
    margin: 15px 0;
}

.shortcode-box code {
    background: #2c3e50;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
    display: inline-block;
}

table.form-table {
    width: 100%;
    max-width: 800px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

table.form-table th {
    padding: 15px;
    text-align: left;
    color: #34495e;
    font-weight: 600;
}

table.form-table td {
    padding: 15px;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="date"] {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="date"]:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
    outline: none;
}

.button-primary {
    padding: 12px 25px;
    margin-top: 20px;
    background: #3498db;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#check-sku {
    background: #2ecc71;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    margin-left: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#check-sku:hover {
    background: #27ae60;
}

#sku-status {
    display: block;
    margin-top: 8px;
    font-size: 14px;
}

#sku-status span {
    padding: 5px 10px;
    border-radius: 4px;
}

/* Status message colors */
#sku-status span[style*="color: green"] {
    background: #e8f5e9;
    color: #2e7d32 !important;
}

#sku-status span[style*="color: red"] {
    background: #ffebee;
    color: #c62828 !important;
}

#sku-status span[style*="color: orange"] {
    background: #fff3e0;
    color: #ef6c00 !important;
}

#sku-status span[style*="color: blue"] {
    background: #e3f2fd;
    color: #1565c0 !important;
}

/* Form container styling */
.wrap {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin: 20px;
}

/* Responsive adjustments */
@media screen and (max-width: 782px) {
    table.form-table {
        padding: 10px;
    }
    
    .button-primary {
        width: 100%;
    }
    
    #check-sku {
        margin: 10px 0;
        width: 100%;
    }
}

/* Warranty Checker Styles */
.warranty-checker-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.warranty-checker-header {
    text-align: center;
    margin-bottom: 30px;
}

.warranty-checker-header h3 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.warranty-checker-header h3 .dashicons {
    color: #3498db;
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.warranty-checker-subtitle {
    color: #7f8c8d;
    font-size: 16px;
    margin: 0;
}

.warranty-checker-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.step {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.step-number {
    width: 30px;
    height: 30px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-size: 18px;
}

.step-content p {
    color: #7f8c8d;
    margin: 0 0 10px 0;
    font-size: 14px;
}

.step-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-content li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #34495e;
    font-size: 14px;
    margin-bottom: 5px;
}

.step-content li .dashicons {
    color: #3498db;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.warranty-checker-form {
    margin: 30px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #34495e;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.required-badge {
    background: #e74c3c;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: normal;
}

.input-help {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: #7f8c8d;
    font-size: 14px;
}

.input-help .dashicons {
    color: #3498db;
}

.input-help a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.input-help a:hover {
    text-decoration: underline;
}

/* Help Modal */
.help-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.help-modal.active {
    display: flex;
}

.help-modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.help-modal-content h4 {
    color: #2c3e50;
    font-size: 20px;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.help-sections {
    display: grid;
    gap: 20px;
}

.help-section {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.help-section h5 {
    color: #34495e;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-section p {
    color: #7f8c8d;
    margin: 0;
    font-size: 14px;
}

.help-image {
    margin-top: 15px;
    text-align: center;
}

.help-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.close-help-modal {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    transition: all 0.3s ease;
}

.close-help-modal:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* FAQ Section */
.warranty-faq {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.warranty-faq h4 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 20px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 15px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2c3e50;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question .dashicons {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question .dashicons {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 15px;
    max-height: 200px;
}

/* Warranty Actions */
.warranty-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.warranty-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.warranty-action-btn.claim {
    background: #2ecc71;
}

.warranty-action-btn.extend {
    background: #f1c40f;
}

.warranty-action-btn.contact {
    background: #3498db;
}

.warranty-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

/* Warranty Result Styles */
.warranty-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.warranty-info.active {
    border-color: #2ecc71;
    background: linear-gradient(to right, #f8f9fa, #f0fff4);
}

.warranty-info.expired {
    border-color: #e74c3c;
    background: linear-gradient(to right, #f8f9fa, #fff0f0);
}

.warranty-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.warranty-status-badge.active {
    background: #2ecc71;
    color: white;
}

.warranty-status-badge.expired {
    background: #e74c3c;
    color: white;
}

.warranty-status-badge .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.warranty-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.warranty-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
}

.warranty-detail-item .dashicons {
    color: #3498db;
    font-size: 24px;
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-content label {
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 500;
}

.detail-content span {
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
}

.detail-content span.active {
    color: #2ecc71;
}

.detail-content span.expired {
    color: #e74c3c;
}

/* Message Styles */
.warranty-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.warranty-message .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.warranty-message.loading {
    background: #e3f2fd;
    color: #1565c0;
}

.warranty-message.error {
    background: #ffebee;
    color: #c62828;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .warranty-checker-container {
        margin: 20px;
        padding: 20px;
    }
    
    .warranty-checker-steps {
        grid-template-columns: 1fr;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .check-warranty-btn {
        width: 100%;
        justify-content: center;
    }
    
    .warranty-details {
        grid-template-columns: 1fr;
    }
    
    .warranty-actions {
        flex-direction: column;
    }
    
    .warranty-action-btn {
        width: 100%;
    }
}

.check-warranty-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    margin-left: 15px;
}

.check-warranty-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1c6ea4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.check-warranty-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

.check-warranty-btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.check-warranty-btn:hover .dashicons {
    transform: scale(1.1);
}

.input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

/* Set Product Warranty Period Styles */
.wp-list-table.warranty-products {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wp-list-table.warranty-products th {
    background: #3498db;
    color: white;
    padding: 15px;
    font-weight: 600;
}

.wp-list-table.warranty-products td {
    padding: 12px 15px;
    vertical-align: middle;
}

.wp-list-table.warranty-products tr:nth-child(even) {
    background: #f8f9fa;
}

.wp-list-table.warranty-products tr:hover {
    background: #e3f2fd;
}

/* Edit Popup Styles */
.edit-warranty-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.edit-warranty-popup.active {
    display: flex;
}

.edit-warranty-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.edit-warranty-content h3 {
    color: #2c3e50;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #3498db;
}

.edit-warranty-form .form-group {
    margin-bottom: 20px;
}

.edit-warranty-form label {
    display: block;
    color: #34495e;
    margin-bottom: 8px;
    font-weight: 600;
}

.edit-warranty-form input,
.edit-warranty-form select {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.edit-warranty-form input:focus,
.edit-warranty-form select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
}

.edit-warranty-buttons {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.edit-warranty-buttons button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edit-warranty-buttons .save-btn {
    background: #3498db;
    color: white;
}

.edit-warranty-buttons .cancel-btn {
    background: #e0e0e0;
    color: #2c3e50;
}

.edit-warranty-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* How to Use and About Pages */
.help-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.help-section h3 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #3498db;
}

.help-section h4 {
    color: #3498db;
    font-size: 20px;
    margin: 25px 0 15px;
}

.help-section p {
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 15px;
}

.help-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.help-section li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: #34495e;
}

.help-section li .dashicons {
    color: #3498db;
    font-size: 20px;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.code-block {
    background: #2c3e50;
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-family: monospace;
    margin: 15px 0;
}

.about-section {
    text-align: center;
    padding: 40px 20px;
}

.about-section .logo {
    max-width: 200px;
    margin-bottom: 30px;
}

.about-section h3 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 20px;
}

.about-section p {
    color: #34495e;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.about-section .company-link {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.about-section .company-link:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Manual Entry Warranty End Date */
.warranty-end-date {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    color: #2c3e50;
    font-weight: 600;
    margin-top: 10px;
}

.warranty-end-date.active {
    border-color: #2ecc71;
    background: #f0fff4;
}

.warranty-end-date.expired {
    border-color: #e74c3c;
    background: #fff0f0;
}