/* Material Design Styles for the form */
.wpc-form {
    font-family: 'Roboto', sans-serif;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    color: #333333;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease-in-out;
}

.wpc-form:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.wpc-form h1 {
    text-align: center;
    color: #3f51b5;
    margin-bottom: 20px;
}

.wpc-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wpc-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #3f51b5;
    font-size: 14px;
}

.wpc-form input[type="text"],
.wpc-form input[type="tel"],
.wpc-form input[type="email"],
.wpc-form input[type="number"],
.wpc-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-size: 16px;
}

.wpc-form input:focus,
.wpc-form select:focus {
    border-color: #3f51b5;
    box-shadow: 0 0 5px rgba(63, 81, 181, 0.5);
    outline: none;
}

.wpc-form .wpc-field {
    margin-bottom: 15px;
}

.wpc-form .wpc-result {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    color: #4caf50;
    transition: color 0.3s;
}

.wpc-form button {
    display: block;
    width: 100%;
    padding: 10px;
    background: #3f51b5;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.3s;
}

.wpc-form button:hover {
    background: #303f9f;
    transform: scale(1.05);
}

.wpc-form button:active {
    background: #1a237e;
    transform: scale(1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.wpc-form .wpc-result {
    animation: fadeIn 1s ease-in-out;
}
