/* Minimal styles for the OCR tool - match the site's look & feel */
.drop-area{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:.6rem;padding:1.25rem;border-radius:12px;border:1px dashed rgba(255,255,255,0.04);background:var(--glass);cursor:pointer;min-height:140px}
.drop-area:hover{border-color:rgba(124,58,237,0.12)}
.drop-area input[type=file]{display:none}
#result{font-family:inherit;white-space:pre-wrap}
#status{font-weight:700}
.tool-card{margin:0 auto}

/* Custom select for translation target */

/* Modern select for translation target */
.modern-select {
	background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple) 60%, var(--accent-magenta));
	color: #fff;
	border: none;
	border-radius: 16px;
	font-size: 1.08rem;
	font-family: inherit;
	font-weight: 700;
	min-width: 180px;
	padding: 0.7rem 1.3rem;
	box-shadow: 0 8px 32px rgba(60,30,120,0.18);
	transition: box-shadow .18s, border-color .18s, background .18s;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1em center;
	background-size: 1.3em;
	padding-right: 2.5em;
	cursor: pointer;
}
.modern-select:focus {
	box-shadow: 0 0 0 3px var(--accent-purple);
	background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan) 60%, var(--accent-magenta));
}
.modern-select option {
	background: var(--bg-2);
	color: var(--text);
	font-size: 1.05rem;
	font-family: inherit;
	padding: 0.6rem 1.2rem;
	border-radius: 12px;
	margin: 2px 0;
}
.modern-select option:checked, .modern-select option:focus {
	background: var(--accent-purple);
	color: #fff;
}

/* Add hover effect for select (not all browsers support) */
.modern-select option:hover {
	background: var(--accent-cyan);
	color: #fff;
}

/* Responsive for mobile */
@media(max-width:720px){
	.modern-select { font-size:0.98rem; min-width:120px; padding:0.5rem 0.7rem; }
}

@media(max-width:720px){.drop-area{min-height:120px;padding:.9rem}}
