/* Ana Panel */
.muh-user-panel {
    max-width: 900px;
    margin: 30px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.muh-panel-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.muh-panel-header h2 {
    margin: 0;
    font-size: 24px;
    color: white;
}

.muh-plan-badge {
    background: #ffd700;
    color: #1a1a2e;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

/* Tab Menü */
.muh-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.muh-tab-btn {
    flex: 1;
    padding: 15px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #6c757d;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.muh-tab-btn:hover {
    color: #495057;
    background: rgba(0,0,0,0.02);
}

.muh-tab-btn.active {
    color: #2271b1;
    border-bottom-color: #2271b1;
    background: white;
}

/* Tab İçerik */
.muh-tab-content {
    display: none;
    padding: 30px;
}

.muh-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.muh-section h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
}

.muh-privacy-notice {
    background: #e8f4f8;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    color: #2271b1;
    margin-bottom: 20px;
}

.muh-empty {
    text-align: center;
    padding: 40px;
    color: #6c757d;
    font-style: italic;
}

/* Butonlar */
.muh-btn {
    background: #2271b1;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.muh-btn:hover {
    background: #135e96;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34,113,177,0.3);
}

.muh-btn-upgrade {
    background: #ffd700;
    color: #1a1a2e;
    font-weight: bold;
}

.muh-btn-upgrade:hover {
    background: #ffed4a;
}

/* Not Formu */
.muh-note-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.muh-note-form input,
.muh-note-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.muh-note-form input:focus,
.muh-note-form textarea:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34,113,177,0.1);
}

.muh-form-actions {
    display: flex;
    gap: 10px;
}

.muh-cancel-btn {
    background: #6c757d;
}

/* Not Kartları */
.muh-note-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.muh-note-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.muh-note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.muh-note-header h4 {
    margin: 0;
    font-size: 16px;
}

.muh-note-actions button {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.muh-note-actions button:hover {
    opacity: 1;
}

.muh-note-content {
    color: #495057;
    line-height: 1.6;
}

.muh-note-date {
    display: block;
    margin-top: 10px;
    color: #adb5bd;
    font-size: 12px;
}

/* Favori Listesi */
.muh-fav-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    transition: background 0.3s;
}

.muh-fav-item:hover {
    background: #f8f9fa;
}

.muh-fav-info h4 {
    margin: 0 0 5px 0;
}

.muh-fav-info h4 a {
    color: #1a1a2e;
    text-decoration: none;
}

.muh-fav-info h4 a:hover {
    color: #2271b1;
}

.muh-fav-type {
    display: inline-block;
    background: #e9ecef;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 10px;
}

.muh-remove-fav-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
}

.muh-remove-fav-btn:hover {
    background: #c82333;
}

/* İçerik Sayfası Favori Butonu */
.muh-favorite-wrapper {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.muh-fav-btn {
    background: white;
    border: 2px solid #e9ecef;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.muh-fav-btn:hover {
    border-color: #ffd700;
    background: #fffdf0;
}

.muh-fav-btn.active {
    background: #fff9e6;
    border-color: #ffd700;
    color: #ff8c00;
}

/* Profil */
.muh-profile-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.muh-info-row {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
}

.muh-info-row:last-child {
    border-bottom: none;
}

.muh-label {
    font-weight: 600;
    width: 150px;
    color: #495057;
}

.muh-upgrade-box {
    margin-top: 20px;
    background: linear-gradient(135deg, #fff9e6, #fff3cd);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #ffd700;
}

/* Responsive */
@media (max-width: 768px) {
    .muh-tabs {
        flex-direction: column;
    }
    
    .muh-tab-btn {
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    
    .muh-tab-btn.active {
        border-bottom: none;
        border-left-color: #2271b1;
    }
    
    .muh-panel-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .muh-fav-item {
        flex-direction: column;
        gap: 10px;
    }
}