.form {
    padding: 2em 3em;
}

#report .report_section .form {
    background: rgba(242,245,249, 0.4);
}

.form .flex_form {
    display: flex;
    gap: 2em;
}

.form input[type="text"], .form input[type="email"], .form input[type="numer"], .form select, .form textarea {
    width: -webkit-fill-available;
    background: none;
    border: 0px;
    border-bottom: solid 1px #51284F;
    padding: 1em 0;
    margin-bottom: 1em;
}

.form textarea {
    min-height: 200px;
}

.form input::placeholder, .form textarea::placeholder {
    color: rgba(81,40,79, 0.4);
}

/* select: full contrast for the chosen value, muted placeholder */
.form select {
    color: #51284F;
}

.form select:required:invalid {
    color: rgba(81,40,79, 0.4);
}

/* dropdown option list – readable dark text on white background */
.form select option {
    color: #51284F;
    background: #fff;
}

.form select option[disabled] {
    color: rgba(81,40,79, 0.5);
}

.form input:focus, .form select:focus, .form textarea:focus {
    outline: none;
}

.form .acceptance {
    margin: 2em 0;
}

.form .send_bt {
    width: 100%;
    display: block;
    padding: 1em;
    background: #EB3EC8;
    color: #fff;
    border: 0;
    border-radius: 99px;
}

.form .send_bt:hover {
	  background: linear-gradient(90deg,rgba(235, 62, 200, 1) 0%, rgba(81, 40, 79, 1) 100%);
}

.form .upload {
    width: 50px;
    aspect-ratio: 49 / 56;
    cursor: pointer;
    margin-bottom: 0.7em;
}

.form strong {
    font-weight: 500;
}

#cooperative .form input[type="text"], #cooperative .form input[type="email"], #cooperative .form input[type="numer"], #cooperative .form select, .form textarea {
    width: -webkit-fill-available;
    background: none;
    border: 0px;
    border-bottom: solid 1px rgba(255,255,255, 0.4);
    padding: 1em 0;
    margin-bottom: 1em;
    color: #fff;
}

#cooperative .form input::placeholder, #cooperative .form select, #cooperative .form textarea::placeholder {
    color: rgba(255,255,255, 0.4)
}

/* Attachment list */
.file-list {
    margin-top: 0.75em;
    display: flex;
    flex-direction: column;
    gap: 0.25em;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.35em 0.5em;
    border-radius: 6px;
    background: rgba(81,40,79,0.05);
    font-size: 0.85rem;
}

.file-status-icon {
    flex-shrink: 0;
    font-size: 0.9rem;
}

.file-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #51284F;
}

.file-size {
    flex-shrink: 0;
    color: rgba(81,40,79,0.55);
    font-size: 0.8rem;
}

.file-remove {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(81,40,79,0.4);
    font-size: 1rem;
    line-height: 1;
    padding: 0 0.2em;
}

.file-remove:hover {
    color: #dc3545;
}

@media (max-width: 966px) {
    .form {
        padding: 1.5em;
    }

    .cooperative_section .form {
		padding: 0.5em;
	}

	.form .flex_form {
		display: block;
	}
}