/* Custom CSS for Product Registration Form */

.product-registration-container {
    background: linear-gradient(145deg, #f3f4f6, #e5e7eb);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.product-registration-container:hover {
    transform: translateY(-10px);
}

h2 {
    color: #1f2937;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 500;
    color: #374151;
    display: block;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    height: auto !important;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #6366f1;
    outline: none;
}

.btn-primary {
    background-color: #6366f1;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #4f46e5;
}

#confirmation-message {
    font-family: 'Roboto', sans-serif;
    border-radius: 8px;
    text-align: center;
    transition: opacity 0.5s ease-in-out;
}

.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-registration-container {
        padding: 20px;
    }

    form {
        padding: 20px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .btn-primary {
        width: 100%;
        padding: 15px;
    }
}
