/* ===========================================
   USER ACCOUNT PRO - BLOCKSY COMPATIBLE
   =========================================== */

/* Container */
.uap-container {
    max-width: 700px;
    margin: 30px auto;
    padding: 0 15px;
}

.uap-profile-section {
    font-family: inherit;
}

.uap-profile-section h1 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
    border-bottom: 3px solid #0073aa;
    padding-bottom: 15px;
}

/* Cards */
.uap-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.uap-card h2 {
    font-size: 18px;
    margin: 0 0 20px 0;
    color: #333;
}

/* Form Groups */
.uap-form-group {
    margin-bottom: 20px;
}

.uap-form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 7px;
}

.uap-input,
.uap-input-disabled {
    width: 100%;
    padding: 11px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.uap-input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.uap-input-disabled {
    background: #f5f5f5;
    cursor: not-allowed;
    color: #666;
}

.uap-form-group small {
    display: block;
    margin-top: 6px;
    color: #999;
    font-size: 12px;
}

/* Avatar */
.uap-avatar-box {
    text-align: center;
    margin-bottom: 20px;
}

.uap-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #0073aa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Status Messages */
.uap-status-message {
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    border-left: 4px solid;
}

.uap-status-message[style*="color: green"] {
    background-color: #f0f9f6;
    border-left-color: #28a745;
    color: #155724;
}

.uap-status-message[style*="color: #0073aa"] {
    background-color: #f0f7ff;
    border-left-color: #0073aa;
    color: #003d7a;
}

.uap-status-message[style*="color: #dc3545"] {
    background-color: #fef5f6;
    border-left-color: #dc3545;
    color: #721c24;
}

/* Info Text */
.uap-info-text {
    background-color: #f0f7ff;
    border-left: 4px solid #0073aa;
    padding: 12px;
    border-radius: 4px;
    color: #003d7a;
    font-size: 14px;
    margin: 0;
}

/* Button Group */
.uap-button-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.uap-btn {
    padding: 12px 32px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.uap-btn-primary {
    background-color: #0073aa;
    color: #fff;
}

.uap-btn-primary:hover:not(:disabled) {
    background-color: #005a87;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
    transform: translateY(-1px);
}

.uap-btn-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Widget */
.uap-widget-wrapper {
    padding: 12px;
    background: #f9f9f9;
    border-radius: 6px;
}

.uap-widget-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.uap-widget-link:hover {
    opacity: 0.8;
}

.uap-widget-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.uap-widget-name {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

/* File Input Styling */
#uap-file-input {
    padding: 8px;
    border: 2px dashed #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s;
}

#uap-file-input:hover {
    border-color: #0073aa;
}

/* Responsive */
@media (max-width: 600px) {
    .uap-container {
        padding: 0 10px;
    }

    .uap-card {
        padding: 20px;
    }

    .uap-profile-section h1 {
        font-size: 24px;
    }

    .uap-button-group {
        flex-direction: column;
        align-items: stretch;
    }

    .uap-btn {
        width: 100%;
        text-align: center;
    }

    .uap-avatar-large {
        width: 100px;
        height: 100px;
    }
}