.ql-profile-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
}

.ql-profile-loading {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ql-profile-section {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ql-profile-section h3,
.ql-profile-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.ql-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}


.ql-form-group-half {
    flex: 1;
}


.ql-form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 14px;
    box-sizing: border-box;
}

.ql-form-control:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76,175,80,0.2);
}

.ql-form-text {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.text-success {
    color: #28a745;
    font-weight: 600;
}

.text-danger {
    color: #dc3545;
    font-weight: 600;
}

.text-warning {
    color: #ffc107;
    font-weight: 600;
}

.text-muted {
    color: #6c757d;
}

.ql-form-actions {
    margin-top: 30px;
}

.ql-info-table {
    width: 100%;
    border-collapse: collapse;
}

.ql-info-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.ql-info-table td {
    padding: 12px 0;
}

.ql-info-table td:first-child {
    width: 180px;
    color: #666;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background-color: #d4edda;
    color: #155724;
}

.badge-warning {
    background-color: #fff3cd;
    color: #856404;
}

.ql-danger-zone {
    border: 2px solid #f44336;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.alert h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

.alert ul {
    margin: 10px 0;
    padding-left: 20px;
}

.notice {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 2px;
    position: relative;
}

.notice-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.notice-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.notice-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.notice-dismiss {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
}

.notice-dismiss:hover {
    opacity: 1;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .ql-info-table td:first-child {
        width: 140px;
    }
}

