/* Learn Arts Award by IRISIDEA — nomination form
   Palette and metrics taken from the existing ArtSetu form screens. */

.laaw-wrap {
	--laaw-card-bg: #f7efec !important;
	--laaw-field-bg: #ffffff;
	--laaw-border: #ddd;
	--laaw-border-focus: #c0522b;
	--laaw-text: #636363;
	--laaw-placeholder: #7b625c;
	--laaw-label: #2f2320;
	--laaw-accent: #c0522b;
	--laaw-accent-hover: #a8451f;
	--laaw-error: #c0392b;
	--laaw-radius: 10px;
	--laaw-card-radius: 18px;
	--laaw-field-h: 46px;
	--laaw-gap: 18px;

	max-width: 1180px;
	margin: 0 auto;
	color: var(--laaw-text);
	font-size: 16px;
	line-height: 1.4;
	padding-left:100px;
	padding-right:100px;
}

.laaw-wrap *,
.laaw-wrap *::before,
.laaw-wrap *::after {
	box-sizing: border-box;
}

.laaw-title {
	margin: 0 0 22px;
	font-size: 28px;
	font-weight: 600;
	color: var(--laaw-label);
}

/* ---------- Cards ---------- */

.laaw-card {
	background: var(--laaw-card-bg);
	border-radius: var(--laaw-card-radius);
	padding: 28px;
	margin-bottom: 26px;
}

.laaw-grid {
	display: grid;
	gap: var(--laaw-gap);
	margin-bottom: var(--laaw-gap);
}
.laaw-grid:last-child {
	margin-bottom: 0;
	margin-top:10px;
}

.laaw-grid--1 { grid-template-columns: 1fr; }
.laaw-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.laaw-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.laaw-grid--identity { grid-template-columns: 1.1fr 1.1fr 1.3fr 0.6fr; align-items: start; }

/* ---------- Fields ---------- */

.laaw-field {
	min-width: 0;
	position: relative;
}

.laaw-label {
	display: block;
	margin-bottom: 8px;
	font-size: 17px;
	font-weight: 500;
	color: var(--laaw-label);
}

.laaw-wrap input[type="text"],
.laaw-wrap input[type="email"],
.laaw-wrap input[type="tel"],
.laaw-wrap input[type="url"],
.laaw-wrap select,
.laaw-wrap textarea {
	width: 100%;
	height: var(--laaw-field-h);
	padding: 0 16px;
	background: var(--laaw-field-bg);
	border: 1px solid var(--laaw-border);
	border-radius: var(--laaw-radius);
	color: var(--laaw-text);
	font-family: inherit;
	font-size: 16px;
	line-height: normal;
	transition: border-color .15s ease, box-shadow .15s ease;
	appearance: none;
	-webkit-appearance: none;
}

.laaw-wrap textarea {
	height: auto;
	min-height: 120px;
	padding: 15px 16px;
	resize: vertical;
}

.laaw-wrap ::placeholder {
	color: var(--laaw-placeholder);
	opacity: 1;
}

.laaw-wrap input:focus,
.laaw-wrap select:focus,
.laaw-wrap textarea:focus {
	outline: none;
	border-color: var(--laaw-border-focus);
	box-shadow: 0 0 0 3px rgba(192, 82, 43, .12);
}

.laaw-wrap select {
	padding-right: 44px;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237b625c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	cursor: pointer;
}

.laaw-wrap select:invalid,
.laaw-wrap select option[value=""] {
	color: var(--laaw-placeholder);
}

.laaw-field.is-invalid input,
.laaw-field.is-invalid select,
.laaw-field.is-invalid textarea,
.laaw-field.is-invalid .laaw-upload {
	border-color: var(--laaw-error);
}

.laaw-error {
	display: none;
	margin-top: 6px;
	color: var(--laaw-error);
	font-size: 13.5px;
}

.laaw-field.is-invalid .laaw-error {
	display: block;
}

/* ---------- Radios ---------- */

.laaw-field--radios {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: var(--laaw-field-h);
}

.laaw-radios {
	display: flex;
	gap: 26px;
	flex-wrap: wrap;
	justify-content: center;
}

.laaw-radio {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 17px;
	color: var(--laaw-label);
}

.laaw-radio input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.laaw-radio__dot {
	width: 16px;
	height: 16px;
	border: 1px solid #9c837c;
	border-radius: 50%;
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.laaw-radio input:checked + .laaw-radio__dot {
	border-color: var(--laaw-accent);
	box-shadow: inset 0 0 0 4px var(--laaw-accent);
}

.laaw-radio input:focus-visible + .laaw-radio__dot {
	box-shadow: 0 0 0 3px rgba(192, 82, 43, .3);
}

/* ---------- Upload boxes ---------- */

.laaw-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    height: 120px;
    min-height: 120px;
    padding: 1px 10px;
    box-sizing: border-box;
}

.laaw-upload:hover,
.laaw-upload:focus-within {
	border-color: var(--laaw-accent);
	background: #fff;
}

.laaw-upload__input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}

.laaw-upload__icon {
    color: var(--laaw-accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
    vertical-align: middle;
}

.laaw-upload__icon svg {
    width: 22px;
    height: 22px;
    display: block;
    flex-shrink: 0;
}

.laaw-upload__text {
    display: inline!important;
	color:#636363;
    word-break: break-word;
    font-size: 13px !important;
    line-height: 1.4;
}


/* Icon + title */
.laaw-uploads-grid .laaw-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    /* height: 150px; */
    min-height: 100px;
    box-sizing: border-box;
  padding-top:20px;
  padding-bottom:0;
  	font-weight:400;
    /* gap: 8px; */
    border: 1px dashed #c9b2ab;
    border-radius: var(--laaw-radius);
    background: rgba(255, 255, 255, .45);
    text-align: center;
}
  

/* Upload icon */
.laaw-uploads-grid .laaw-upload__icon svg {
    width: 22px;
    height: 22px;
    display: block;
    flex-shrink: 0;
}

/* Upload description */
.laaw-uploads-grid .laaw-upload__text {
    display: block;
    width: 100%;

    font-size: 13px !important;
    line-height: 1.4;

    word-break: break-word;
    text-align: center;
}
.laaw-upload.has-file {
	border-style: solid;
	border-color: var(--laaw-accent);
	background: #fff;
	color: var(--laaw-text);
}



.laaw-hint {
	margin: 14px 0 0;
	color: var(--laaw-placeholder);
	font-size: 14px;
}

/* ---------- Alert + actions ---------- */

.laaw-alert {
	display: none;
	margin-bottom: 20px;
	padding: 14px 18px;
	border-radius: 12px;
	font-size: 16px;
}

.laaw-alert.is-error {
	display: block;
	background: #fdeceb;
	border: 1px solid #f0c3bd;
	color: #9e2f22;
}

.laaw-alert.is-success {
	display: block;
	background: #edf7ee;
	border: 1px solid #bfe0c3;
	color: #2d6b35;
}

.laaw-actions {
	display: flex;
	justify-content: center;
    margin-bottom:20px;
}

.laaw-submit {
	min-width: 250px;
	height: 52px;
	padding: 0 34px;
	border: 0;
	border-radius: 26px;
	background: var(--laaw-accent);
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s ease, transform .15s ease;
}

.laaw-submit:hover { background: var(--laaw-accent-hover); }
.laaw-submit:active { transform: translateY(1px); }
.laaw-submit:focus-visible { outline: 3px solid rgba(192, 82, 43, .4); outline-offset: 2px; }
.laaw-submit[disabled] { opacity: .65; cursor: not-allowed; }

.laaw-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
	.laaw-grid--identity { grid-template-columns: 1fr 1fr; }
	.laaw-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.laaw-wrap { font-size: 16px; }
	.laaw-card { padding: 20px; border-radius: 14px; }
	.laaw-grid--identity,
	.laaw-grid--2,
	.laaw-grid--3 { grid-template-columns: 1fr; }
	.laaw-radios { justify-content: flex-start; gap: 22px; }
	.laaw-submit { width: 100%; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.laaw-wrap * { transition: none !important; }
}
.laaw-upload-description {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

.laaw-add-portfolio {
    display: inline-block;
    margin-top: 5px;
    padding: 8px 14px;
    border: 1px solid #c0522b;
    border-radius: 6px;
    background: transparent;
    color: #c0522b;
    cursor: pointer;
    font-size: 13px;
}

.laaw-add-portfolio:hover {
    background: #c0522b;
    color: #fff;
}

.laaw-portfolio-file-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

.laaw-portfolio-file-row input[type="file"] {
    max-width: 100%;
}

.laaw-portfolio-file-name {
    font-size: 13px;
}

.laaw-remove-portfolio {
    border: 0;
    background: none;
    color: #c0522b;
    cursor: pointer;
    font-size: 13px;
}/* Additional portfolio file */
.laaw-portfolio-file-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.laaw-portfolio-file-label {
    display: inline-block;
    cursor: pointer;
}

.laaw-portfolio-file-label .laaw-upload__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.laaw-portfolio-file-name {
    display: inline-block;
    cursor: pointer;
    font-size: 15px;
    text-decoration: underline;
}

.laaw-portfolio-file-name:hover {
    color: #c0522b;
}

.laaw-remove-portfolio {
    border: 0;
    background: transparent;
    color: #c0522b;
    cursor: pointer;
    font-size: 15px;
    padding: 0;
}

.laaw-remove-portfolio:hover {
    text-decoration: underline;
}.laaw-phone-wrapper {
    display: flex;
    width: 100%;
    gap: 8px;
}

.laaw-country-code {
    width: 110px;
    flex: 0 0 110px;
    height: 48px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
}

.laaw-phone-wrapper input[type="tel"] {
    flex: 1;
    width: auto;
}
#laawSocialGrid.laaw-social-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.laaw-social-row {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.laaw-social-row select,
.laaw-social-row input {
    width: 100%;
}

.laaw-social-row__action {
    display: flex;
    align-items: center;
    justify-self: start;
}

.laaw-add-more {
    display: inline-block;
    background: #262220;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 14px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s ease;
}
.laaw-social-row__action {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: start;
}
.laaw-add-more:hover {
    background: #000;
}

.laaw-remove-social {
    background: transparent;
    border: none;
    color: #b23b3b;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}.laaw-portfolio-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 5px;
	
}

.laaw-portfolio-actions .laaw-add-portfolio,
.laaw-portfolio-actions .laaw-add-video {
    margin-top: 0; /* remove the old standalone top margin, the flex gap handles spacing now */
}

.laaw-add-video {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #c0522b;
    border-radius: 6px;
    background: transparent;
    color: #c0522b;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
}

.laaw-add-video:hover {
    background: #c0522b;
    color: #fff;
}

.laaw-video-link-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.laaw-video-link-row input[type="url"] {
    flex: 1;
    height: 42px;
}

.laaw-remove-video {
    border: 0;
    background: transparent;
    color: #b23b3b;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}.laaw-portfolio-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.laaw-portfolio-actions .laaw-hint {
    margin: 0;
    font-size: 12px;
    color: #8a8a8a;
    flex: 1 1 auto;
}

.laaw-video-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.laaw-video-link-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.laaw-video-link-row input {
    flex: 1;
    min-width: 0;
}.laaw-section-title {
	margin: 0 0 16px;
	font-size: 15px;
	font-weight: 600;
	color: #262220;
}

.laaw-uploads-grid {
	position: relative;
}

.laaw-uploads-grid .laaw-field:not(:last-child) {
	border-right: 2px solid #ddd0c8;
	padding-right: 20px;
}



@media (max-width: 768px) {
	.laaw-uploads-grid .laaw-field {
		border-bottom: 1px solid #ddd0c8;
		padding-bottom: 16px;
		margin-bottom: 16px;
	}

	.laaw-uploads-grid .laaw-field:last-child {
		border-bottom: none;
		margin-bottom: 0;
	}
}
.laaw-uploads-grid .laaw-upload {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;   /* centers content vertically → equal top/bottom space */
	width: 100%;
	height: 150px;             /* fixed, not min-height, so all 3 match exactly */
	box-sizing: border-box;
	padding: 16px 12px;
	font-weight: 400;
	border: 1px dashed #c9b2ab;
	border-radius: var(--laaw-radius);
	background: rgba(255, 255, 255, .45);
	text-align: center;
}