/**
 * Profile Editor Styles
 * Namespaced with csa- prefix to avoid theme conflicts
 */

.csa-avatar-section img {
    border-radius: 50%;
    width: 100px;
}

.csa-profile-container {
    max-width: 800px;
}

.csa-profile-form .csa-form-row {
    margin-bottom: 20px;
}

.csa-profile-form label {
    display: block;
    margin-bottom: 5px;
}

.csa-profile-form input[type="text"],
.csa-profile-form input[type="email"],
.csa-profile-form input[type="password"],
.csa-profile-form input[type="url"],
.csa-profile-form select,
.csa-profile-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.csa-profile-form .csa-checkbox-row {
    display: flex;
    align-items: center;
}

.csa-profile-form .csa-checkbox-row input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.csa-profile-form .csa-checkbox-row label {
    display: inline;
    margin-bottom: 0;
}

.csa-profile-form textarea {
    height: 100px;
}

.csa-success {
    background-color: #dff0d8;
    color: #3c763d;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.csa-error {
    background-color: #f2dede;
    color: #a94442;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.csa-avatar-section {
    text-align: center;
    margin-bottom: 20px;
}

.csa-avatar-section img {
    border-radius: 50%;
    width: 100px;
    display: block;
    margin: 0 auto 10px;
}

.csa-avatar-section input[type="file"] {
    display: none;
}

.csa-avatar-section .csa-custom-file-upload {
    font-size: 12px;
    background: #000;
    color: #fff;
    border-radius: 50px;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}

.csa-avatar-section .csa-custom-file-upload:hover {
    background: #333;
}
