
.uaw-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.uaw-title {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.uaw-avatar-section {
    text-align: center;
    margin-bottom: 30px;
}

.uaw-avatar-display {
    margin-bottom: 15px;
}

.uaw-avatar {
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.uaw-custom-avatar {
    border: 3px solid #0073aa;
}

.uaw-gravatar {
    border: 3px solid #ccc;
}

.uaw-avatar-controls {
    margin-top: 15px;
}

.uaw-upload-section {
    margin-bottom: 10px;
}

.uaw-upload-btn,
.uaw-remove-btn {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.uaw-upload-btn {
    background-color: #0073aa;
    color: white;
}

.uaw-upload-btn:hover {
    background-color: #005a87;
}

.uaw-remove-btn {
    background-color: #dc3545;
    color: white;
}

.uaw-remove-btn:hover {
    background-color: #c82333;
}

.uaw-upload-progress {
    margin: 15px 0;
    text-align: center;
}

.uaw-progress-bar {
    width: 100%;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 5px;
}

.uaw-progress-fill {
    height: 100%;
    background-color: #0073aa;
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

.uaw-progress-text {
    font-size: 14px;
    color: #666;
}

.uaw-upload-note,
.uaw-avatar-note {
    font-size: 12px;
    color: #666;
    margin: 10px 0 0 0;
    line-height: 1.4;
}

.uaw-field-group {
    margin-bottom: 20px;
}

.uaw-field-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.uaw-field-group input[type="text"],
.uaw-field-group input[type="email"],
.uaw-field-group input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.uaw-field-group input[readonly] {
    background-color: #f9f9f9;
    color: #666;
}

.uaw-field-note {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.uaw-password-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.uaw-password-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.uaw-password-strength {
    height: 4px;
    margin-top: 5px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.uaw-password-strength.weak {
    background-color: #ff4444;
    width: 25%;
}

.uaw-password-strength.medium {
    background-color: #ffaa00;
    width: 50%;
}

.uaw-password-strength.strong {
    background-color: #00aa00;
    width: 75%;
}

.uaw-password-strength.very-strong {
    background-color: #008800;
    width: 100%;
}

.uaw-form-actions {
    text-align: center;
    margin-top: 30px;
}

.uaw-submit-btn {
    background-color: #0073aa;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.uaw-submit-btn:hover {
    background-color: #005a87;
}

.uaw-submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.uaw-loading {
    color: #666;
    font-style: italic;
    margin-left: 10px;
}

.uaw-messages {
    margin-bottom: 20px;
}

.uaw-message {
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.uaw-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.uaw-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .uaw-container {
        margin: 10px;
        padding: 15px;
    }
    
    .uaw-upload-btn,
    .uaw-remove-btn {
        display: block;
        margin: 5px auto;
        width: 100%;
        max-width: 200px;
    }
}
