body {
    display: flex;
    height: 100vh;
    background: #f5f5f5;
    margin: 0; /* Убираем стандартные отступы */

}

.main{
    min-height: 600px;
    min-width: 500px;
    width: 50vw;
    overflow:auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE и Edge */
    padding-top: 28px;
}
.main::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.right{
    width: 25vw;
    display: grid;
    place-items: center;
    padding: 20px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    margin: 5px 0;
    border-radius: 15px;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}
.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f1f1;
    text-align: center;
}

/*  */

.left {
    min-width: 300px;
    width: 25vw;
    display: grid;
    place-items: center;
    padding: 20px 0;
}

.sidebar {
    background: white;
    min-height: 550px;
    /* height: 600px; */
    height: 90%;
    width: 20vw;
    min-width: 250px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar:hover {
    /* transform: translateY(-2px); */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f1f1;
    text-align: center;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    margin: 5px 0;
    border-radius: 15px;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-item i {
    width: 25px;
    font-size: 1.1rem;
    margin-right: 15px;
    color: #7f8c8d;
    transition: all 0.3s ease;
}

.menu-item span {
    font-size: 1rem;
    font-weight: 500;
}

.menu-item:hover {
    background: #f8f9fa;
    color: #3498db;
    transform: translateX(5px);
}

.menu-item:hover i {
    color: #3498db;
}

.menu-item.active {
    background: #3498db;
    color: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.menu-item.active i {
    color: white;
}
.post-button-container {
  padding: 20px 15px;
  margin-top: 20px;
}

.post-button {
  width: 100%;
  padding: 15px 0;
  background-color: #1d9bf0;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.post-button:hover {
  background-color: #1a8cd8;
}

.post-button-text {
  margin-left: 5px;
}
.logout-button {
    margin-top: 65%;
  width: 100%;
  padding: 15px 0;
  background-color: #1d9bf0;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logout-button:hover {
  background-color: #1a8cd8;
}
.login-button-container {
  padding: 20px 15px;
  margin-top: 20px;
}

.login-button {
  width: 100%;
  padding: 15px 0;
  background-color: #1d9bf0;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-button:hover {
  background-color: #1a8cd8;
}

.login-button-text {
  margin-left: 5px;
}


/* Модальное окно */
.container {
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.login-btn {
    background-color: #1877f2;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #0e66d0;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.modal {
    background-color: white;
    border-radius: 12px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 16px;
    border-bottom: 1px solid #e4e6eb;
    position: relative;
    text-align: center;
}

.modal-title {
    font-weight: 600;
    font-size: 20px;
}

.modal-close {
    position: absolute;
    right: 16px;
    top: 16px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #65676b;
}

.modal-tabs {
    display: flex;
    border-bottom: 1px solid #e4e6eb;
}

.modal-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #65676b;
}

.modal-tab.active {
    color: #1877f2;
    border-bottom: 2px solid #1877f2;
}

.modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    text-align: left;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #dddfe2;
    border-radius: 6px;
    font-size: 16px;
}

.form-submit {
    width: 100%;
    padding: 12px;
    background-color: #1877f2;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.form-submit:hover {
    background-color: #0e66d0;
}

.form-footer {
    text-align: center;
    margin-top: 16px;
    color: #65676b;
    font-size: 14px;
}

.form-footer a {
    color: #1877f2;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}