/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

.activation-success {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

/* Warranty Activation Form */
.warranty-activation-wrapper {
    max-width: 800px;
    margin: 2rem auto;
    margin-top: 4rem;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.warranty-activation-header {
    text-align: center;
    margin-bottom: 2rem;
}
.warranty-activation-header h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.warranty-activation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    grid-column: span 2;
    text-align: center;
    margin-top: 1rem;
}

.warranty-submit-btn {    
    background-color: #3498db;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.warranty-submit-btn:hover {
    background-color: #2980b9;
}

.warranty-error {
    color: #dc3232;
    padding: 1rem;
    border: 1px solid #dc3232;
    border-radius: 6px;
    text-align: center;
}
/* Responsive Design */
@media (max-width: 768px) {
    .warranty-activation-grid {
        grid-template-columns: 1fr;
    }
    .form-submit {
        grid-column: span 1;
    }
    .warranty-activation-wrapper {
        padding: 1rem;
    }
}
