.profile-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.profile-info, .favorites-section, .profile-actions {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.profile-info h2, .favorites-section h2, .profile-actions h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    border-bottom: 2px solid #ff6b6b;
    padding-bottom: 10px;
}

.info-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-card:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #333;
    margin: 0;
}

.info-value {
    color: #666;
    margin: 0;
}

.favorites-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.favorite-card {
    background: white;
    border: 2px solid #ff6b6b;
    border-radius: 15px;
    width: 250px;
    box-shadow: 0 5px 15px rgba(255,107,107,0.2);
    transition: transform 0.3s;
}

.favorite-card:hover {
    transform: translateY(-5px);
}

.favorite-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 13px 13px 0 0;
}

.favorite-link {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 20px;
}

.favorite-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.favorite-date {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin: 0;
}

.btn {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: #ff6b6b;
    color: white;
}

.actions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.action-card {
    background: white;
    border: 2px solid #ff6b6b;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    width: 200px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.action-card:hover {
    background: #ff6b6b;
    transform: translateY(-5px);
}

.action-card:hover .action-title,
.action-card:hover .action-text {
    color: white;
}

.action-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.action-text {
    color: #666;
    margin: 0;
    font-size: 14px;
}

/* Добавьте эти стили в конец файла */

.favorites-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.favorites-section h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    border-bottom: 2px solid #ff6b6b;
    padding-bottom: 10px;
}

.favorites-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.favorite-card {
    background: white;
    border: 2px solid #ff6b6b;
    border-radius: 15px;
    width: 280px;
    box-shadow: 0 5px 15px rgba(255,107,107,0.2);
    transition: transform 0.3s;
    overflow: hidden;
}

.favorite-card:hover {
    transform: translateY(-5px);
}

.favorite-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.favorite-card-content {
    padding: 20px;
}

.favorite-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.favorite-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.favorite-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
}

.favorite-category {
    background: #ff6b6b;
    color: white;
    padding: 3px 8px;
    border-radius: 15px;
}

.favorite-time {
    color: #666;
}

.favorite-date {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin: 10px 0 0;
}

.remove-favorite-btn {
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
    margin-top: 15px;
    transition: background 0.3s;
}

.remove-favorite-btn:hover {
    background: #ff4444;
}

.no-favorites {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

.no-favorites p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.btn-primary {
    background: #ff6b6b;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    border: 2px solid transparent;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #ff4444;
}

/* Toast уведомления */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
    width: 100%;
    pointer-events: none;
}

.toast {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(400px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    border-left: 4px solid;
}

.toast.toast-show {
    transform: translateX(0);
    opacity: 1;
}

.toast.toast-hide {
    transform: translateX(400px);
    opacity: 0;
}

.toast-info {
    border-left-color: #2196F3;
}

.toast-icon {
    font-size: 20px;
}

.toast-content {
    flex: 1;
}

.toast-message {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.toast-close:hover {
    color: #333;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    width: 100%;
    animation: progress 3s linear forwards;
}

.toast-info .toast-progress {
    background: #2196F3;
}

@keyframes progress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

/* Счетчик избранного в хедере */
.favorites-counter a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ff6b6b;
    font-weight: 600;
}

.favorites-counter a:hover {
    color: #ff4444;
}