/* ==================== PROFILE INLINE FORM STYLING ==================== */

.hi-form-field {
    margin-bottom: 20px;
}

.hi-form-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.9);
    margin-bottom: 8px;
}

.hi-form-field input,
.hi-form-field textarea,
.hi-form-field select {
    width: 100%;
    padding: 14px 16px;
    background: var(--input-bg);
    border: 1.5px solid var(--input-border);
    color: var(--input-text);
    border-radius: 14px;
    font-family: var(--font-body, 'Poppins', 'Inter', system-ui, sans-serif);
    font-size: 15px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hi-form-field input {
    height: 52px;
}

.hi-form-field select {
    height: 52px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 44px;
}

.hi-form-field textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.hi-form-field input::placeholder,
.hi-form-field textarea::placeholder {
    color: rgba(148, 163, 184, 0.5);
    font-weight: 400;
}

.hi-form-field input:hover,
.hi-form-field textarea:hover,
.hi-form-field select:hover {
    border-color: rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.6);
}

.hi-form-field input:focus,
.hi-form-field textarea:focus,
.hi-form-field select:focus {
    outline: none;
    border-color: var(--input-border-focus);
    background: var(--input-bg-focus);
    box-shadow: 0 0 0 4px var(--glow-cyan), 0 4px 12px rgba(14, 165, 233, 0.15);
    transform: translateY(-1px);
}

.hi-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-bottom: 20px;
}

.hi-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border-primary);
}

.hi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-transform: uppercase;
    font-size: 13px;
}

.hi-btn--primary {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.95), rgba(56, 189, 248, 0.85));
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.hi-btn--primary:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 1), rgba(56, 189, 248, 1));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35);
}

.hi-btn--primary:active {
    transform: translateY(0);
}

.hi-btn--ghost {
    background: transparent;
    color: rgba(148, 163, 184, 0.9);
    border: 1.5px solid rgba(148, 163, 184, 0.3);
}

.hi-btn--ghost:hover {
    background: rgba(148, 163, 184, 0.1);
    border-color: rgba(148, 163, 184, 0.5);
    color: rgba(226, 232, 240, 0.95);
}

.hi-detail-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hi-detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 12px;
    transition: all 0.25s ease;
}

.hi-detail-item:hover {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(148, 163, 184, 0.25);
}

.hi-detail-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.75);
}

.hi-detail-value {
    font-size: 15px;
    font-weight: 500;
    color: rgba(226, 232, 240, 0.95);
}

.hi-empty-state {
    padding: 32px 20px;
    text-align: center;
    color: rgba(148, 163, 184, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

/* Light Theme Support */
[data-theme="light"] .hi-form-field label {
    color: var(--color-text-muted);
}

[data-theme="light"] .hi-form-field input,
[data-theme="light"] .hi-form-field textarea,
[data-theme="light"] .hi-form-field select {
    background-color: var(--input-bg);
    border-color: var(--input-border);
    color: var(--input-text);
}

[data-theme="light"] .hi-form-field select {
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

[data-theme="light"] .hi-form-field input:hover,
[data-theme="light"] .hi-form-field textarea:hover,
[data-theme="light"] .hi-form-field select:hover {
    border-color: var(--color-border-hover);
    background-color: var(--input-bg-focus);
}

[data-theme="light"] .hi-detail-item {
    background: var(--card-bg);
    border-color: var(--card-border);
}

[data-theme="light"] .hi-detail-item:hover {
    background: var(--card-bg-hover);
    border-color: var(--card-border-hover);
}

[data-theme="light"] .hi-detail-label {
    color: var(--color-text-muted);
}

[data-theme="light"] .hi-detail-value {
    color: var(--color-text-primary);
}

[data-theme="light"] .hi-btn--ghost {
    color: var(--color-text-secondary);
    border-color: var(--card-border);
}

[data-theme="light"] .hi-btn--ghost:hover {
    background: var(--card-bg-hover);
    border-color: var(--card-border-hover);
    color: var(--color-text-primary);
}
