/* === Search Form Layout === */

.cm108-search-form {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    margin-bottom: 20px;
}

.cm108-field {
    flex: 1;
}

.cm108-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 13px;
}

.cm108-field input {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.cm108-search-btn {
    padding: 11px 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    background: #2271b1;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

.cm108-search-btn:hover {
    background: #1a5d90;
}

/* === Account Results === */

.cm108-account-results {
    margin-top: 15px;
}

.cm108-account-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Card-style result */
.cm108-account-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;

    /* Shadow */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cm108-account-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* === Avatar Placeholder === */

.cm108-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

/* Optional initials later */
.cm108-avatar::after {

    font-size: 22px;
    opacity: 0.6;
}

/* === Account Text === */

.cm108-account-info strong {
    display: block;
    font-size: 15px;
}

.cm108-account-info small {
    color: #666;
    font-size: 13px;
}

/* === Gravity Form Container === */

.cm108-gravity-form {
    margin-top: 25px;
}

/* === Responsive (Mobile) === */

@media (max-width: 768px) {
    .cm108-search-form {
        flex-direction: column;
    }

    .cm108-search-btn {
        width: 100%;
    }
}
.cm108-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f1f1;
}

.cm108-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
