/* Warranty Page Styles */
.warranty-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    min-height: 500px;
}

.warranty-box {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
    text-align: center;
}

.warranty-header .icon {
    font-size: 48px;
    color: #0da487; /* Theme color */
    margin-bottom: 20px;
}

.warranty-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.warranty-header p {
    color: #777;
    margin-bottom: 30px;
    font-size: 15px;
}

.warranty-form .form-group {
    text-align: left;
    margin-bottom: 25px;
}

.warranty-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.warranty-form .input-wrapper {
    position: relative;
}

.warranty-form input {
    width: 100%;
    padding: 15px 20px;
    padding-right: 45px;
    border: 2px solid #eee;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.warranty-form input:focus {
    border-color: #0da487;
    box-shadow: 0 0 0 4px rgba(13, 164, 135, 0.1);
}

.warranty-form .input-wrapper i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
}

.btn-check {
    width: 100%;
    padding: 15px;
    background: #0da487;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-check:hover {
    background: #0b8c73;
}

.btn-check:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Result Box */
.result-box {
    margin-top: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.result-header {
    background: #fdfdfd;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.result-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.result-content {
    padding: 20px;
    text-align: left;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;
}

.result-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.result-item .label {
    color: #666;
    font-weight: 500;
}

.result-item .value {
    color: #222;
    font-weight: 700;
}

.warranty-status {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.warranty-status.active {
    background: rgba(13, 164, 135, 0.1);
    color: #0da487;
}

.error-message {
    text-align: center;
    color: #dc3545;
    padding: 10px;
}

.error-message i {
    font-size: 30px;
    margin-bottom: 10px;
    display: block;
}

.error-message p {
    margin: 0;
}
