/* Account Card Component */
.account-card {
    border-radius: var(--radius-sm);
    overflow: visible;
    position: relative;
}

/* Info Row Component */
.info-row {
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-light);
}

.seller-company-info-row {
    flex-direction: column;
    align-items: self-start !important;
    gap: 0 !important;
}

.seller-company-info-row .info-value {
    width: 100%;
    margin-top: var(--spacing-sm);
}

.seller-company-info-row .form-input,
.seller-company-info-row .form-textarea {
    width: 100%;
    text-align: right;
    direction: rtl;
    padding: 0.5rem;
    min-height: 2.5rem;
    resize: vertical;
    overflow-y: auto;
}

.seller-company-info-row .form-textarea {
    min-height: 4rem;
    resize: vertical;
}

/* Auto-resize for inputs and textareas */
.seller-company-info-row .form-input[data-auto-resize],
.seller-company-info-row .form-textarea[data-auto-resize] {
    resize: none;
    overflow: hidden;
}

/* Image upload styles */
.company-image-upload-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: var(--spacing-sm);
}

.company-image-preview {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all var(--transition-base);
}

#company-banner-preview {
    width: 8rem;
    height: 4rem;
    border-radius: var(--radius-sm);
}

.company-image-preview img {
    width: 100%;
    height: 100%;
}

.company-image-preview.empty {
    flex-direction: column;
    gap: var(--spacing-xs);
    position: relative;
}

.company-image-preview.empty::before {
    content: '';
    width: 60px;
    height: 60px;
    background: var(--border-light);
    border-radius: var(--radius-sm);
    display: block;
}

.company-image-preview.empty::after {
    content: 'لا توجد صورة';
    color: var(--text-light);
    font-size: var(--font-size-sm);
    display: block;
}

.info-item {
    display: flex;
    justify-content: center;
}

.info-icon {
    width: 2.3rem;
    height: 2.3rem;
    color: var(--primary-color);
    stroke: var(--primary-color);
    stroke-width: 2;
    flex-shrink: 0;
    margin-left: 0.5rem;
    padding: 0.5rem;
}

.info-value {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    text-align: left;
    flex: 1;
    margin-top: 0;
    padding-right: 0;
    word-break: break-word;
}

/* Profile Image in Card Body */
.profile-image-row {
    padding-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.profile-image-value {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.profile-image-edit {
    position: relative;
    display: inline-block;
}

.profile-image-edit .profile-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #e8f4f8 0%, #d1e7dd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--border-light);
    overflow: hidden;
}

.profile-image-edit .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-image-edit .profile-image-placeholder {
    font-size: 2rem;
    color: #000000 !important;
}

.edit-image-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: var(--primary-color);
    border: 2px solid var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.edit-image-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.edit-image-icon {
    width: 14px;
    height: 14px;
    color: var(--bg-white);
    stroke: var(--bg-white);
    stroke-width: 2.5;
}