.wpcf7 input[type="file"] {
  height: auto;
  padding: 12px;
  background: transparent;
}

.wpcf7 .wpcf7-submit {
  width: 100%;
  height: 56px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cf7-dropzone {
  position: relative;
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s ease;
  background: rgba(255,255,255,0.03);
}

.cf7-dropzone:hover {
  border-color: hsl(var(--accent));
  background: rgba(255,255,255,0.06);
}

.cf7-dropzone.dragover {
  border-color: hsl(var(--accent));
  background: rgba(255,255,255,0.1);
}

.cf7-file-name {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.7;
}

/* =====================================================
   CONTACT FORM 7 — styling under your existing layout
===================================================== */

/* main form wrapper */
.wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wpcf7 form .border-border svg
{
	display: inline-block;
	margin-right:10px;
}

.wpcf7 form ul.mylist li p:before
{
	content:'• ';
	font-weight:bold;
}

.paddingleft
{
	padding-left:28px;
	padding-top:4px;
}

/* remove default p margins */
.wpcf7 p {
    margin: 0;
}

/* all inputs + select */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 14px;
    outline: none;
    box-shadow: none;
    transition: 0.2s;
}

/* placeholder */
.wpcf7 input::placeholder {
    color: hsl(var(--muted-foreground));
}

/* select */
.cf7-select {
    appearance: none;
    cursor: pointer;
}

/* =====================================================
   FIRSTNAME + LASTNAME side by side
===================================================== */

.wpcf7 .grid.grid-cols-1.sm\:grid-cols-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* =====================================================
   FILE UPLOADS side by side
===================================================== */

.wpcf7 .wpcf7-form-control-wrap[data-name="cv"],
.wpcf7 .wpcf7-form-control-wrap[data-name="motivation"] {
    display: block;
    vertical-align: top;
}

fieldset
{
	position: absolute;
}

/* dropzone */
.cf7-dropzone {
    position: relative;
    min-height: 152px;
    border: 2px dashed rgba(255,255,255,0.18);
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    padding: 23px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.25s;
}

.cf7-dropzone:hover {
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.05);
}

.cf7-dropzone svg {
    margin: 0 auto;
    opacity: 0.75;
}

.cf7-dropzone p {
    margin: 0;
    font-size:0.85em;
}

.cf7-dropzone .text-xs {
    font-size: 12px;
    opacity: 0.7;
    line-height:20px;
}

.cf7-file-name {
    font-size: 13px;
    font-weight: 600;
    margin-top: 6px;
}

/* =====================================================
   CHECKBOX
===================================================== */

.wpcf7 .wpcf7-acceptance {
    display: block;
}

.wpcf7 .wpcf7-list-item {
    margin: 0;
}

.wpcf7 .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.wpcf7 input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* =====================================================
   SUBMIT BUTTON
===================================================== */

.cf7-submit {
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff !important;

    background: linear-gradient(135deg, hsl(var(--gradient-start)), hsl(var(--gradient-end)));

    transition: 0.25s;
}

.cf7-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.cf7-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =====================================================
   VALIDATION + RESPONSE
===================================================== */

.wpcf7-not-valid-tip {
    margin-top: 6px;
    font-size: 12px;
}

.wpcf7-response-output {
    margin: 0 !important;
    padding: 14px 16px !important;
    border-radius: 10px;
    font-size: 14px;
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {
    .wpcf7 .grid.grid-cols-1.sm\:grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .wpcf7 .wpcf7-form-control-wrap[data-name="cv"],
    .wpcf7 .wpcf7-form-control-wrap[data-name="motivation"] {
        width: 100%;
        display: block;
        margin-right: 0;
        margin-bottom: 16px;
    }

    .cf7-dropzone {
        min-height: 180px;
    }
    
    #sform #wpcf7-f18-p2-o1
    {
		background-size:100% 850px !important;
	}
	
	.wpcf7 .wpcf7-submit
	{
		height:44px;
		font-size: .875rem;
  		line-height: 1.25rem;	
  		border-radius:8px;	
	}
}

#sform #wpcf7-f18-p2-o1
{
	background-image:url('../images/bgform.jpg');
	background-repeat:no-repeat;
	background-size:100% 520px;
}

.borderupload
{
	background-color:#fff !important;
	margin-bottom:40px;
}