.custom-cv-form {
max-width: 600px;
margin: 2em auto;
padding: 25px;
background: var(--wp--preset--color--background, #f9f9f9);
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
font-family: inherit;
color: inherit;
}
.custom-cv-form h2 {
text-align: center;
margin-bottom: 30px;
color: inherit;
}
.custom-cv-form .form-group {
margin-bottom: 20px;
}
.custom-cv-form label {
display: block;
margin-bottom: 8px;
font-weight: bold;
color: inherit;
}
.custom-cv-form input[type="text"],
.custom-cv-form input[type="date"],
.custom-cv-form input[type="email"],
.custom-cv-form input[type="tel"],
.custom-cv-form input[type="file"] {
width: 100%;
padding: 12px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 16px;
box-sizing: border-box;
}
.custom-cv-form input[type="file"] {
padding: 10px;
background: white;
}
.custom-cv-form .checkbox-group {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 10px;
margin-top: 10px;
}
.custom-cv-form .checkbox-group label {
font-weight: normal;
display: flex;
align-items: center;
background: var(--wp--preset--color--background, #fff);
padding: 10px;
border-radius: 5px;
border: 1px solid #eee;
}
.custom-cv-form input[type="checkbox"] {
margin-right: 10px;
transform: scale(1.2);
}
.custom-cv-form .gdpr-section {
background: var(--wp--preset--color--background, #fff);
padding: 15px;
border-radius: 5px;
margin: 25px 0;
border: 1px solid #e0e0e0;
}
.custom-cv-form .gdpr-section label {
font-weight: normal;
display: flex;
align-items: flex-start;
}
.custom-cv-form .gdpr-section input[type="checkbox"] {
margin-right: 12px;
margin-top: 4px;
}
.custom-cv-form button {
width: 100%;
padding: 15px;
color: var(--wp--preset--color--background, #ffffff);
border: none;
border-radius: 5px;
font-size: 18px;
font-weight: bold;
cursor: pointer;
transition: background 0.3s;
background: var(--wp--preset--color--primary, #1d2327);
}
.custom-cv-form .required {
color: var(--wp--preset--color--vivid-red, #dc3232);
}
.custom-cv-form small {
display: block;
margin-top: 5px;
color: inherit;
font-size: 13px;
opacity: .75;
} .form-message {
padding: 15px;
margin-bottom: 20px;
border-radius: 5px;
text-align: center;
}
.form-message.error {
background: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}