:root {
    --page-background: #f0f2f5;
    --card-background: #ffffff;
    --primary: #6c4cff;
    --primary-dark: #5837e8;
    --text: #172033;
    --muted: #687386;
    --border: #e5e9f0;
    --soft-background: #f4f6f9;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--page-background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

.app-container {
    max-width: 1240px;
}

.navbar {
    min-height: 68px;
}

.logo {
    color: var(--primary) !important;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -1px;
}

.navbar-search {
    width: min(100%, 330px);
}

.navbar-search .form-control {
    height: 42px;
    padding-left: 18px;
    background: var(--soft-background);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.navbar-search .form-control:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 76, 255, 0.12);
}

.navbar-date {
    color: var(--muted);
    font-size: 13px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
}

.card {
    border: 1px solid rgba(20, 32, 51, 0.06);
    border-radius: 14px;
}

.feed-card,
.sidebar-card {
    background: var(--card-background);
}

.sidebar-card {
    position: sticky;
    top: 92px;
}

.current-user-box {
    display: flex;
    gap: 12px;
    align-items: center;
}

.avatar-circle {
    display: inline-flex;
    width: 46px;
    min-width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c4cff, #9a79ff);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    user-select: none;
}

.avatar-large {
    width: 52px;
    min-width: 52px;
    height: 52px;
    font-size: 20px;
}

.avatar-small {
    width: 40px;
    min-width: 40px;
    height: 40px;
    font-size: 15px;
}

.sidebar-menu {
    display: grid;
    gap: 6px;
}

.sidebar-menu a {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 11px 12px;
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    transition: background 0.15s ease;
}

.sidebar-menu a:hover {
    background: var(--soft-background);
}

.sidebar-title {
    margin-bottom: 16px;
    font-size: 17px;
    font-weight: 700;
}

.composer-header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.composer-textarea {
    min-height: 90px;
    resize: vertical;
    background: var(--soft-background);
    border: 1px solid transparent;
    border-radius: 14px;
}

.composer-textarea:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 76, 255, 0.12);
}

.composer-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.composer-file-button {
    margin: 0;
    padding: 9px 13px;
    border-radius: 9px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.15s ease;
}

.composer-file-button:hover {
    background: var(--soft-background);
}

.publish-button {
    min-width: 120px;
    background: var(--primary);
    border-color: var(--primary);
    border-radius: 9px;
}

.publish-button:hover,
.publish-button:focus {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.composer-preview {
    display: none;
    width: 100%;
    max-height: 360px;
    margin-top: 16px;
    object-fit: contain;
    background: var(--soft-background);
    border-radius: 12px;
}

.search-information {
    padding: 12px 15px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.search-information a {
    color: var(--primary);
    text-decoration: none;
}

.post-header {
    display: flex;
    gap: 12px;
    align-items: center;
}

.post-author {
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
}

.post-author:hover {
    color: var(--primary);
}

.post-date {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

.post-content {
    margin-top: 16px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.post-image {
    display: block;
    width: 100%;
    max-height: 650px;
    margin-top: 16px;
    object-fit: contain;
    background: #eef0f4;
    border-radius: 12px;
}

.post-statistics {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding: 10px 2px;
    color: var(--muted);
    font-size: 13px;
    border-bottom: 1px solid var(--border);
}

.post-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding-top: 8px;
}

.post-action-button {
    padding: 10px;
    background: transparent;
    border: 0;
    border-radius: 9px;
    color: var(--muted);
    font-weight: 600;
    transition:
        background 0.15s ease,
        color 0.15s ease;
}

.post-action-button:hover {
    background: var(--soft-background);
    color: var(--primary);
}

.friend-suggestion {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
}

.friend-suggestion-info {
    min-width: 0;
    flex: 1;
}

.friend-suggestion-info a {
    display: block;
    overflow: hidden;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.friend-add-button {
    padding: 2px 0;
    background: transparent;
    color: var(--primary);
    border: 0;
    font-size: 13px;
}

.friend-add-button:hover {
    text-decoration: underline;
}

.topic-list {
    display: grid;
    gap: 8px;
}

.topic-list span {
    padding: 7px 11px;
    background: var(--soft-background);
    border-radius: 20px;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 991.98px) {
    .sidebar-card {
        position: static;
    }

    .navbar-search {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .app-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .card {
        border-radius: 10px;
    }

    .composer-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .publish-button {
        width: 100%;
    }
}
.like-form {
    display: block;
    margin: 0;
}

.like-form .post-action-button {
    width: 100%;
}

.post-action-button.is-liked {
    background: rgba(108, 76, 255, 0.1);
    color: var(--primary);
}

.comments-section {
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.comment-item {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.comment-avatar {
    width: 34px;
    min-width: 34px;
    height: 34px;
    font-size: 13px;
}

.comment-content {
    min-width: 0;
    max-width: calc(100% - 43px);
}

.comment-bubble {
    padding: 9px 12px;
    background: var(--soft-background);
    border-radius: 14px;
    overflow-wrap: anywhere;
}

.comment-author {
    display: block;
    margin-bottom: 2px;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.comment-author:hover {
    color: var(--primary);
}

.comment-text {
    font-size: 14px;
    line-height: 1.4;
}

.comment-date {
    margin-top: 3px;
    padding-left: 8px;
    color: var(--muted);
    font-size: 11px;
}

.comment-form {
    display: flex;
    gap: 9px;
    align-items: center;
    margin-top: 14px;
}

.comment-input-group {
    display: flex;
    min-width: 0;
    flex: 1;
    gap: 7px;
}

.comment-input {
    min-width: 0;
    height: 40px;
    background: var(--soft-background);
    border: 1px solid transparent;
    border-radius: 20px;
}

.comment-input:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 76, 255, 0.12);
}

.comment-submit-button {
    padding: 8px 13px;
    background: var(--primary);
    color: #ffffff;
    border: 0;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 600;
}

.comment-submit-button:hover {
    background: var(--primary-dark);
}

article[id] {
    scroll-margin-top: 90px;
}

@media (max-width: 575.98px) {
    .comment-input-group {
        align-items: stretch;
        flex-direction: column;
    }

    .comment-submit-button {
        align-self: flex-end;
    }
}
.avatar-circle {
    object-fit: cover;
}

.post-header {
    align-items: flex-start;
    justify-content: space-between;
}

.post-header-main {
    display: flex;
    min-width: 0;
    gap: 12px;
    align-items: center;
}

.post-username {
    margin-top: 1px;
    color: var(--muted);
    font-size: 12px;
}

.delete-content-form,
.comment-delete-form {
    margin: 0;
}

.content-delete-button {
    padding: 5px 9px;
    background: transparent;
    color: #dc3545;
    border: 0;
    border-radius: 7px;
    font-size: 12px;
}

.content-delete-button:hover {
    background: rgba(220, 53, 69, 0.08);
}

.comment-heading {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
}

.comment-delete-button {
    padding: 0;
    background: transparent;
    color: #dc3545;
    border: 0;
    font-size: 10px;
    opacity: 0.7;
}

.comment-delete-button:hover {
    text-decoration: underline;
    opacity: 1;
}

.profile-card {
    overflow: hidden;
}

.profile-cover {
    height: 220px;
    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(255, 255, 255, 0.35),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #5b3de1,
            #8f6dff,
            #c2b2ff
        );
}

.profile-information {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding: 0 28px 22px;
}

.profile-avatar-wrapper {
    margin-top: -70px;
}

.profile-avatar {
    width: 145px;
    min-width: 145px;
    height: 145px;
    background: linear-gradient(
        135deg,
        #6c4cff,
        #9a79ff
    );
    border: 5px solid #ffffff;
    box-shadow: 0 5px 18px rgba(23, 32, 51, 0.18);
    font-size: 48px;
}

.profile-name-area {
    min-width: 0;
    padding-top: 18px;
}

.profile-name-area h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 800;
}

.profile-username {
    margin-top: 3px;
    color: var(--muted);
}

.profile-bio {
    max-width: 700px;
    margin: 14px 0 0;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.profile-joined {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
}

.profile-statistics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
}

.profile-statistics div {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-direction: column;
    padding: 17px;
}

.profile-statistics div:not(:last-child) {
    border-right: 1px solid var(--border);
}

.profile-statistics strong {
    font-size: 20px;
}

.profile-statistics span {
    color: var(--muted);
    font-size: 13px;
}

.profile-edit-card {
    position: sticky;
    top: 92px;
}

.profile-edit-card textarea {
    resize: vertical;
}

.profile-posts-title {
    margin-bottom: 18px;
    font-size: 22px;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .profile-cover {
        height: 160px;
    }

    .profile-information {
        align-items: center;
        flex-direction: column;
        padding: 0 18px 22px;
        text-align: center;
    }

    .profile-avatar-wrapper {
        margin-top: -65px;
    }

    .profile-avatar {
        width: 125px;
        min-width: 125px;
        height: 125px;
        font-size: 40px;
    }

    .profile-name-area {
        padding-top: 0;
    }

    .profile-name-area h1 {
        font-size: 25px;
    }

    .profile-edit-card {
        position: static;
    }
}
.friend-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.friend-controls form {
    margin: 0;
}

.friend-controls .btn {
    border-radius: 9px;
    font-weight: 600;
}

.profile-friend-actions {
    margin-top: 18px;
}

.friends-page-header {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.friends-page-header h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 800;
}

.friends-page-header p {
    margin: 6px 0 0;
    color: var(--muted);
}

.friends-count {
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.friends-section {
    margin-bottom: 34px;
}

.friends-section h2 {
    display: flex;
    gap: 9px;
    align-items: center;
    margin-bottom: 17px;
    font-size: 21px;
    font-weight: 750;
}

.friends-section h2 span {
    display: inline-flex;
    min-width: 27px;
    height: 27px;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    background: rgba(108, 76, 255, 0.1);
    color: var(--primary);
    border-radius: 14px;
    font-size: 13px;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.person-card {
    height: 100%;
}

.person-card .card-body {
    display: flex;
    min-width: 0;
    gap: 14px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.person-avatar-link {
    text-decoration: none;
}

.friend-list-avatar {
    width: 62px;
    min-width: 62px;
    height: 62px;
    font-size: 23px;
}

.person-information {
    min-width: 0;
    flex: 1;
}

.person-name {
    display: block;
    overflow: hidden;
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.person-name:hover {
    color: var(--primary);
}

.person-username {
    margin-top: 2px;
    color: var(--muted);
    font-size: 13px;
}

.person-information p {
    display: -webkit-box;
    margin: 9px 0 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.request-status {
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
}

.person-card .friend-controls {
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.suggestion-friend-controls {
    margin-top: 3px;
}

.suggestion-friend-controls .btn {
    padding: 0;
    background: transparent;
    color: var(--primary);
    border: 0;
    font-size: 13px;
}

.suggestion-friend-controls .btn:hover {
    background: transparent;
    color: var(--primary-dark);
    text-decoration: underline;
}

.empty-friends-state {
    padding: 55px 20px;
    text-align: center;
}

.empty-friends-state p {
    max-width: 520px;
    margin: 10px auto 22px;
    color: var(--muted);
}

@media (max-width: 767.98px) {
    .people-grid {
        grid-template-columns: 1fr;
    }

    .friends-page-header {
        align-items: flex-start;
        flex-direction: column;
    }
}
.notifications-nav-link {
    display: flex;
    gap: 6px;
    align-items: center;
}

.notifications-badge {
    display: inline-flex;
    min-width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    background: #dc3545;
    color: #ffffff;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.notifications-page-header {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.notifications-page-header h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 800;
}

.notifications-page-header p {
    margin: 6px 0 0;
    color: var(--muted);
}

.new-notifications-label {
    padding: 9px 15px;
    background: rgba(108, 76, 255, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.notifications-card {
    overflow: hidden;
}

.notifications-list {
    display: grid;
}

.notification-item {
    display: flex;
    position: relative;
    gap: 14px;
    align-items: center;
    min-width: 0;
    padding: 17px 20px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: background 0.15s ease;
}

.notification-item:last-child {
    border-bottom: 0;
}

.notification-item:hover {
    background: var(--soft-background);
    color: var(--text);
}

.notification-unread {
    background: rgba(108, 76, 255, 0.065);
}

.notification-unread:hover {
    background: rgba(108, 76, 255, 0.11);
}

.notification-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.notification-avatar {
    width: 52px;
    min-width: 52px;
    height: 52px;
    font-size: 19px;
}

.notification-type-icon {
    display: inline-flex;
    position: absolute;
    right: -4px;
    bottom: -3px;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 7px rgba(23, 32, 51, 0.18);
    font-size: 12px;
}

.notification-information {
    min-width: 0;
    flex: 1;
}

.notification-message {
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.notification-date {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.notification-unread-dot {
    width: 10px;
    min-width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

.empty-notifications {
    padding: 65px 20px;
    text-align: center;
}

.empty-notifications-icon {
    margin-bottom: 12px;
    font-size: 45px;
}

.empty-notifications h3 {
    font-size: 22px;
    font-weight: 700;
}

.empty-notifications p {
    max-width: 530px;
    margin: 10px auto 22px;
    color: var(--muted);
    line-height: 1.5;
}

@media (max-width: 767.98px) {
    .notifications-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .notification-item {
        align-items: flex-start;
        padding: 15px;
    }

    .notification-avatar {
        width: 45px;
        min-width: 45px;
        height: 45px;
        font-size: 16px;
    }
}
.messages-nav-link {
    display: flex;
    gap: 6px;
    align-items: center;
}

.messages-badge {
    display: inline-flex;
    min-width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    background: #dc3545;
    color: #ffffff;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.messages-page-header {
    margin-bottom: 24px;
}

.messages-page-header h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 800;
}

.messages-page-header p {
    margin: 6px 0 0;
    color: var(--muted);
}

.messages-layout {
    min-height: 680px;
}

.conversations-card,
.message-window {
    height: 680px;
    overflow: hidden;
}

.conversations-heading {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 18px;
    font-weight: 750;
}

.conversations-list {
    height: calc(100% - 62px);
    overflow-y: auto;
}

.conversation-item {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 13px 15px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: background 0.15s ease;
}

.conversation-item:hover {
    background: var(--soft-background);
    color: var(--text);
}

.conversation-active {
    background: rgba(108, 76, 255, 0.1);
}

.conversation-active:hover {
    background: rgba(108, 76, 255, 0.14);
}

.conversation-avatar {
    width: 48px;
    min-width: 48px;
    height: 48px;
    font-size: 18px;
}

.conversation-information {
    min-width: 0;
    flex: 1;
}

.conversation-name-row {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
}

.conversation-name-row strong {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-name-row > span {
    flex-shrink: 0;
    color: var(--muted);
    font-size: 10px;
}

.conversation-preview-row {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.conversation-preview {
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-unread-badge {
    display: inline-flex;
    min-width: 21px;
    height: 21px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 11px;
    font-size: 10px;
    font-weight: 700;
}

.empty-conversations {
    padding: 55px 20px;
    text-align: center;
}

.empty-conversations-icon {
    margin-bottom: 10px;
    font-size: 40px;
}

.empty-conversations h4 {
    font-size: 19px;
}

.empty-conversations p {
    margin: 8px 0 20px;
    color: var(--muted);
    font-size: 14px;
}

.message-window {
    display: flex;
    flex-direction: column;
}

.message-window-header {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
}

.message-user-link {
    display: flex;
    min-width: 0;
    gap: 11px;
    align-items: center;
    color: var(--text);
    text-decoration: none;
}

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

.message-header-avatar {
    width: 45px;
    min-width: 45px;
    height: 45px;
    font-size: 17px;
}

.message-user-link strong {
    display: block;
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.message-user-link span {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

.message-thread {
    min-height: 0;
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f7f8fb;
    scroll-behavior: smooth;
}

.message-row {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    margin-bottom: 14px;
}

.message-row-own {
    justify-content: flex-end;
}

.message-row-received {
    justify-content: flex-start;
}

.message-avatar {
    width: 31px;
    min-width: 31px;
    height: 31px;
    font-size: 11px;
}

.message-content-wrapper {
    max-width: min(75%, 600px);
}

.message-row-own .message-content-wrapper {
    text-align: right;
}

.message-bubble {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 18px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    text-align: left;
    white-space: normal;
}

.message-row-received .message-bubble {
    background: #ffffff;
    color: var(--text);
    border-bottom-left-radius: 5px;
    box-shadow: 0 1px 4px rgba(23, 32, 51, 0.08);
}

.message-row-own .message-bubble {
    background: var(--primary);
    color: #ffffff;
    border-bottom-right-radius: 5px;
}

.message-date {
    margin-top: 4px;
    padding: 0 5px;
    color: var(--muted);
    font-size: 10px;
}

.message-date span {
    color: var(--primary);
}

.message-composer {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    padding: 14px;
    background: #ffffff;
    border-top: 1px solid var(--border);
}

.message-input {
    min-height: 43px;
    max-height: 130px;
    resize: none;
    background: var(--soft-background);
    border: 1px solid transparent;
    border-radius: 21px;
    line-height: 1.45;
}

.message-input:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 76, 255, 0.12);
}

.message-send-button {
    height: 43px;
    padding: 0 18px;
    background: var(--primary);
    color: #ffffff;
    border: 0;
    border-radius: 21px;
    font-size: 13px;
    font-weight: 700;
}

.message-send-button:hover {
    background: var(--primary-dark);
}

.conversation-start {
    max-width: 420px;
    margin: 80px auto;
    text-align: center;
}

.conversation-start-avatar {
    width: 78px;
    min-width: 78px;
    height: 78px;
    margin-bottom: 14px;
    font-size: 28px;
}

.conversation-start h4 {
    font-size: 20px;
    font-weight: 700;
}

.conversation-start p {
    color: var(--muted);
    font-size: 14px;
}

.empty-message-window {
    display: flex;
    height: 680px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.empty-message-icon {
    margin-bottom: 12px;
    font-size: 46px;
}

.empty-message-window h3 {
    font-size: 22px;
    font-weight: 700;
}

.empty-message-window p {
    color: var(--muted);
}

@media (max-width: 991.98px) {
    .conversations-card {
        height: 420px;
    }

    .message-window,
    .empty-message-window {
        height: 650px;
    }
}

@media (max-width: 575.98px) {
    .message-thread {
        padding: 14px 10px;
    }

    .message-content-wrapper {
        max-width: 84%;
    }

    .message-window-header {
        padding: 10px 12px;
    }

    .message-composer {
        padding: 10px;
    }

    .message-send-button {
        padding: 0 13px;
    }
}