/*
 * KlusTik — hand-written additions loaded after the Vite build.
 * Used for fixes and components that must ship without rebuilding the
 * Tailwind bundle (the production server has no Node).
 */

/* Form fields: the build gave inputs a border colour but 0px width, so white
   fields on white cards were invisible. Also fixed in resources/css/app.css. */
input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
select,
textarea {
    border: 1px solid #c9d4e1;
    transition: border-color .15s, box-shadow .15s;
}
input:not([type=checkbox]):not([type=radio]):hover,
select:hover,
textarea:hover { border-color: #9fb2c8; }
input:not([type=checkbox]):not([type=radio]):focus,
select:focus,
textarea:focus { border-color: #FF7900; box-shadow: 0 0 0 3px rgba(255, 121, 0, .18); }
input[aria-invalid=true], textarea[aria-invalid=true] { border-color: #dc2626; }

/* ---------- Admin: delete buttons ---------- */
.kt-btn-danger { background: #fff; color: #b91c1c; border: 1px solid #fca5a5; }
.kt-btn-danger:hover { background: #dc2626; color: #fff; border-color: #dc2626; }
.kt-row-actions { display: inline-flex; gap: .75rem; align-items: center; justify-content: flex-end; }
.kt-link-danger { font-weight: 700; color: #b91c1c; background: none; border: 0; padding: 0; cursor: pointer; }
.kt-link-danger:hover { text-decoration: underline; }
.kt-danger-zone { margin-top: 1.5rem; border: 1px solid #fecaca; background: #fef2f2; border-radius: 1rem; padding: 1.25rem; }
.kt-danger-zone h2 { font-weight: 900; color: #991b1b; }
.kt-danger-zone p { margin-top: .35rem; font-size: .875rem; color: #7f1d1d; }
.kt-listing-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.kt-listing-row > a { flex: 1 1 18rem; min-width: 0; }
.kt-listing-row > a:hover p:first-child { color: #FF7900; }

/* ---------- Contact page ---------- */
.kt-contact { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 1024px) { .kt-contact { grid-template-columns: 2fr 3fr; align-items: start; } }

.kt-contact-info {
    position: relative; overflow: hidden;
    border-radius: 1.25rem; padding: 2rem;
    background: linear-gradient(150deg, #082D5B 0%, #0d3f7c 100%);
    color: #fff; box-shadow: 0 18px 40px -20px rgba(8, 45, 91, .55);
}
.kt-contact-info::after {
    content: ""; position: absolute; right: -60px; bottom: -60px;
    width: 180px; height: 180px; border-radius: 50%;
    border: 28px solid rgba(255, 121, 0, .55);
}
.kt-contact-info h2 { font-size: 1.5rem; font-weight: 900; line-height: 1.2; }
.kt-contact-info > p { margin-top: .5rem; color: rgba(255, 255, 255, .78); font-size: .95rem; line-height: 1.6; }
.kt-contact-list { position: relative; z-index: 1; margin-top: 1.75rem; display: grid; gap: 1rem; }
.kt-contact-item { display: flex; gap: .85rem; align-items: flex-start; }
.kt-contact-icon {
    flex: none; display: grid; place-items: center;
    width: 2.5rem; height: 2.5rem; border-radius: .8rem;
    background: rgba(255, 121, 0, .16); color: #FF9a3d; font-size: 1.1rem;
}
.kt-contact-item small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.kt-contact-item a, .kt-contact-item span.kt-value { color: #fff; font-weight: 700; word-break: break-word; }
.kt-contact-item a:hover { color: #FF9a3d; }

.kt-contact-form {
    border-radius: 1.25rem; border: 1px solid #DCE4ED; background: #fff;
    padding: 2rem; box-shadow: 0 18px 40px -28px rgba(8, 45, 91, .45);
}
.kt-contact-form h2 { font-size: 1.5rem; font-weight: 900; color: #082D5B; }
.kt-contact-form .kt-sub { margin-top: .35rem; color: #5b6b80; font-size: .95rem; }
.kt-fields { margin-top: 1.5rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .kt-fields { grid-template-columns: 1fr 1fr; } .kt-span-2 { grid-column: span 2; } }
.kt-req { color: #FF7900; margin-left: .15rem; }
.kt-hint { display: block; margin-top: .3rem; font-size: .78rem; font-weight: 400; color: #6b7a8f; }
.kt-form-footer { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.kt-form-footer p { font-size: .78rem; color: #6b7a8f; max-width: 28rem; }
.kt-submit { min-width: 10rem; font-size: .95rem; }
.kt-alert { margin-top: 1rem; border-radius: .9rem; padding: .85rem 1rem; font-size: .9rem; }
.kt-alert-error { background: #fef2f2; color: #991b1b; }
.kt-alert-success { background: #ecfdf5; color: #065f46; font-weight: 600; }
.kt-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
