/* HiredMA Profile Engine - basic layout using HiredMA Style Engine classes */

.hma-dashboard-profile .hma-dashboard-panel {
    border-radius: var(--hma-card-radius, 14px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    background: #ffffff;
}

.hma-dashboard-panel-header {
    padding: 1.25rem 1.5rem 0.5rem;
    border-bottom: 1px solid rgba(15,23,42,0.06);
}

.hma-dashboard-panel-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hma-text, #111827);
}

.hma-dashboard-panel-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 0.15rem;
}

.hma-dashboard-panel-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.hma-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
    .hma-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.hma-form-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--hma-text, #111827);
}

.hma-form-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.hma-form-row label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b5563;
}

.hma-form-row input[type="text"],
.hma-form-row input[type="email"],
.hma-form-row input[type="url"],
.hma-form-row textarea {
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.6rem;
    font-size: 0.9rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hma-form-row input:focus,
.hma-form-row textarea:focus {
    outline: none;
    border-color: var(--hma-primary, #2563eb);
    box-shadow: 0 0 0 1px rgba(37,99,235,0.18);
}

.hma-help-text {
    font-size: 0.8rem;
    color: #6b7280;
}

.hma-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.hma-checkbox-group input {
    margin-right: 0.25rem;
}

.hma-form-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
}

.hma-btn.hma-btn-primary {
    background: var(--hma-primary, #2563eb);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.45rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(37,99,235,0.25);
}

.hma-btn.hma-btn-primary:hover {
    filter: brightness(1.05);
}

.hma-profile-notice {
    padding: 0.6rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.hma-profile-notice-success {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.hma-profile-logo-preview {
    max-height: 48px;
    width: auto;
    border-radius: 0.5rem;
}

.hma-profile-gallery-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.35rem;
}

.hma-profile-gallery-preview img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 1px solid rgba(148,163,184,0.7);
}
