:root {
    /* Exact colors from Klustarief Logo */
    --brand-orange: #F05B26;
    --brand-blue: #1D4289; 
    --brand-cyan: #2BA8E0;
    --brand-dark: #0F2545;
    
    /* Helper colors */
    --brand-bg-light: #F4F8FB; 
    --brand-orange-hover: #D64B1B;
}

#painter-new-registration-container {
    font-family: 'Poppins', sans-serif;
    color: var(--brand-dark);
}

.text-brand-orange { color: var(--brand-orange); }
.text-brand-blue { color: var(--brand-blue); }
.text-brand-dark { color: var(--brand-dark); }
.bg-brand-blue { background-color: var(--brand-blue); }

/* --- HERO SEARCH INPUT (FIXED OVERLAP) --- */
#company_search_input {
    padding-left: 48px !important; /* Space for the search icon */
    padding-right: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 18px;
    color: var(--brand-dark);
    width: 100%;
}

#company_search_input::placeholder {
    color: #9ca3af;
}

/* --- BUTTONS --- */
#btn_company_not_listed {
    color: var(--brand-blue);
    text-decoration: none !important; /* No Underline */
    font-weight: 500;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

#btn_company_not_listed:hover {
    color: var(--brand-orange);
}

.btn-klustarief-primary {
    background-color: var(--brand-orange);
    color: white;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 6px;
    width: 100%;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(240, 91, 38, 0.25);
    font-size: 16px;
}

.btn-klustarief-primary:hover {
    background-color: var(--brand-orange-hover);
}

/* --- SEARCH DROPDOWN --- */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 25px -5px rgba(29, 66, 137, 0.15);
    z-index: 50;
    max-height: 350px;
    overflow-y: auto;
    display: none;
}

.search-result-item {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px; /* Space between Icon and Text */
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.1s;
}

.search-result-item:hover {
    background-color: #f0f7ff;
}

.dropdown-section-title {
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #9ca3af;
    background-color: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
}

/* --- ICONS & LOGOS --- */
.company-avatar-fallback {
    width: 40px; height: 40px; /* Bigger to match text */
    border-radius: 50%;
    background-color: var(--brand-blue);
    color: white;
    font-weight: 700;
    font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.company-logo-img {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.branch-icon-wrapper {
    width: 40px; height: 40px;
    border-radius: 50%;
    background-color: #FFF0EB; 
    color: var(--brand-orange);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* --- FORM INPUTS (Steps 2 & 3) --- */
.klustarief-input-group { position: relative; margin-bottom: 1.25rem; }

.klustarief-input {
    width: 100%;
    padding: 26px 12px 6px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 16px;
    color: var(--brand-dark);
    background: #fff;
    height: 56px;
}

.klustarief-input:focus { border-color: var(--brand-blue); outline: none; box-shadow: 0 0 0 1px var(--brand-blue); }

.klustarief-label {
    position: absolute;
    top: 17px; left: 13px;
    font-size: 15px; color: #64748b;
    pointer-events: none;
    transform-origin: left top;
    transition: all 0.2s;
}

.klustarief-input:focus ~ .klustarief-label,
.klustarief-input:not(:placeholder-shown) ~ .klustarief-label,
.klustarief-input[readonly]:not(:placeholder-shown) ~ .klustarief-label {
    top: 6px; font-size: 11px; color: var(--brand-blue); font-weight: 600;
}

.klustarief-input-icon {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    color: #22c55e; pointer-events: none; opacity: 0;
}
.klustarief-input:not(:placeholder-shown) ~ .klustarief-input-icon { opacity: 1; }

/* --- PROGRESS --- */
.progress-bar-track { background-color: #e2e8f0; height: 8px; border-radius: 4px; overflow: hidden; width: 100%; }
.progress-bar-fill { background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-cyan) 50%, var(--brand-orange) 100%); height: 100%; }

/* --- STEP 3 MANUAL DROPDOWN --- */
#industry_dropdown_options {
    max-height: 250px; overflow-y: auto; z-index: 9999;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 0.5rem 0.5rem;
}
.big-picker-option { padding: 12px 16px; border-bottom: 1px solid #e5e7eb; cursor: pointer; background: white; color: var(--brand-dark); }
.big-picker-option:hover { background-color: #f0f7ff; color: var(--brand-blue); padding-left: 20px; transition: padding 0.2s; }

#painter-new-registration-container input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: var(--brand-dark) !important;
}
.benefit-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #EFF6FF;
    color: var(--brand-blue);
    font-size: 22px;
}
.stats-gradient-section {
    background: linear-gradient(120deg, var(--brand-blue) 0%, var(--brand-dark) 55%, #020817 100%);
    color: #ffffff;
    border-radius: 9px;
}

.stats-card {
    border-radius: 0.5rem;
    padding: 1.25rem 1rem;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.stats-card:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.35);
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.06));
}
.how-step-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    padding: 1.75rem 1.25rem;
    box-shadow: 0 10px 25px -12px rgba(15, 37, 69, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.how-step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -16px rgba(15, 37, 69, 0.32);
    border-color: rgba(29, 66, 137, 0.25);
}

.how-step-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.75), rgba(43, 168, 224, 0.18));
    color: var(--brand-blue);
    font-size: 26px;
}
.timeline-step-icon {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background: radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.85), rgba(43, 168, 224, 0.18));
    border: 1px solid rgba(148, 163, 184, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card {
    background-color: #f9fafb;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    padding: 1rem;
    box-shadow: 0 10px 25px -18px rgba(15, 37, 69, 0.3);
}
.klustarief-select-wrapper {
    position: relative;
    width: 100%;
}

.klustarief-select {
    width: 100%;
    padding: 14px 40px 14px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 16px;
    color: var(--brand-dark);
    background-color: #ffffff;
    background-image: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    line-height: 1.4;
}

.klustarief-select:focus {
    border-color: var(--brand-blue);
    outline: none;
    box-shadow: 0 0 0 1px var(--brand-blue);
}

.klustarief-select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 20px;
}

.klustarief-select:disabled {
    background-color: #f9fafb;
    color: #9ca3af;
}

.klustarief-select option[value=""] {
    color: #9ca3af;
}
