/**
 * forms-global.css – Claymatics Theme
 * Universal form input styles — works on light AND dark backgrounds
 */

/* ── Base input ── */
.clm-input,
.clm-input-dark,
input.form-control.clm-input,
select.form-select.clm-input,
textarea.form-control.clm-input {
    width: 100%;
    padding: 11px 15px;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    outline: none;
    display: block;
}

/* Light bg (contact page) */
.clm-input {
    background: #fff;
    border: 1.5px solid rgba(30,107,255,0.18);
    color: #1a2744;
}
.clm-input::placeholder { color: #aab; }
.clm-input:focus {
    border-color: rgba(30,107,255,0.55);
    box-shadow: 0 0 0 3px rgba(30,107,255,0.1);
    background: #fff;
    color: #1a2744;
}
.clm-input:hover { border-color: rgba(30,107,255,0.35); }

/* Dark bg (login page) */
.clm-input-dark {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
}
.clm-input-dark::placeholder { color: rgba(255,255,255,0.3); }
.clm-input-dark:focus {
    border-color: rgba(30,107,255,0.5);
    box-shadow: 0 0 0 3px rgba(30,107,255,0.15);
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* Select arrow */
select.clm-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231E6BFF' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

/* Labels */
.form-label.text-navy,
.clm-form-label { color: #1a2744 !important; font-weight: 600; font-size: 0.84rem; }

/* Form success */
.clm-form-success {
    text-align: center;
    padding: 3rem 1rem;
}
.clm-form-success .success-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, #18C29C, #0fa87a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1rem;
    box-shadow: 0 0 24px rgba(24,194,156,0.4);
}
.clm-form-success h3 { font-family: 'Syne',sans-serif; color: #1a2744; margin-bottom: .5rem; }
.clm-form-success p  { color: #666; font-size: .9rem; }

/* Contact page specific — white card inputs on grey background */
.contact-form-card .clm-input {
    background: #fff;
    border-color: rgba(30,107,255,0.15);
    color: #0B1F3B;
}
.contact-form-card .clm-input:focus {
    border-color: #1E6BFF;
    box-shadow: 0 0 0 3px rgba(30,107,255,0.1);
}
.contact-form-card .form-check-input {
    border-color: rgba(30,107,255,0.3);
}
.contact-form-card .form-check-input:checked {
    background-color: #1E6BFF;
    border-color: #1E6BFF;
}

/* Social buttons */
.clm-social-btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(30,107,255,0.08);
    border: 1px solid rgba(30,107,255,0.18);
    color: var(--clm-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}
.clm-social-btn:hover {
    background: var(--clm-blue);
    color: #fff;
    box-shadow: 0 0 10px rgba(30,107,255,0.35);
}

/* Contact info items */
.clm-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.clm-contact-item .contact-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(30,107,255,0.08);
    border: 1px solid rgba(30,107,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
