@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #4C84FF;
    --background-color: #f5f5f5;
    --text-primary: #333;
    --text-secondary: #666;
}

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 80%;
}

body {
    background: var(--background-color);
    padding: 4rem 2rem;
}

.container {
    max-width: 100rem;
    margin: 0 auto;
}

h1 {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
    text-align: center;
}

.tabs {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tab-header {
    position: relative;
    display: flex;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    padding: 0 2rem;
}

.tab-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 3rem;
    background: none;
    border: none;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.tab-link i {
    font-size: 2rem;
}

.tab-link:hover {
    color: var(--primary-color);
}

.tab-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    height: 2.2rem;
    padding: 0 0.7rem;
    background: #ef4444;
    color: #fff;
    border-radius: 1.1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.tab-indicator {
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px 2px 0 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.tab-content {
    padding: 3rem;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-pane h2 {
    font-size: 2.4rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tab-pane p {
    font-size: 1.6rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem;
}

.info-card {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 1rem;
    border-left: 4px solid var(--primary-color);
}

.info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.info-card p {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.settings-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 1rem;
    font-size: 1.6rem;
}

.switch {
    position: relative;
    width: 5rem;
    height: 2.8rem;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 2.8rem;
}

.slider:before {
    position: absolute;
    content: "";
    height: 2rem;
    width: 2rem;
    left: 0.4rem;
    bottom: 0.4rem;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(2.2rem);
}

.message-list, .notification-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.message-item {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 1rem;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.message-item.unread {
    background: #e3f2fd;
    border-left-color: var(--primary-color);
}

.message-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.message-item strong {
    display: block;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.message-item p {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.time {
    font-size: 1.2rem;
    color: #999;
}

.notification-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-radius: 1rem;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.notification-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.notification-item i {
    font-size: 2rem;
}

.icon-like {
    color: #ef4444;
}

.icon-comment {
    color: #3b82f6;
}

.icon-follow {
    color: #10b981;
}
