/* Orbita Platform Style */
/* Космическая тема в стиле логотипа ОРБИТА */

/* Доступность - Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: linear-gradient(135deg, #4facfe 0%, #a770ef 100%);
    color: #fff;
    padding: 8px 16px;
    z-index: 9999;
    text-decoration: none;
    font-weight: bold;
}

.skip-link:focus {
    top: 0;
}

/* Стили для скринридеров */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Улучшенный фокус для клавиатуры */
*:focus {
    outline: 2px solid #4facfe;
    outline-offset: 2px;
}

a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid #4facfe;
    outline-offset: 2px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif;
    font-size: 13px;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    background-attachment: fixed;
    color: #e0e0e0;
    line-height: 1.5;
    min-height: 100vh;
}

a {
    color: #4facfe;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
    color: #a770ef;
    text-shadow: 0 0 8px rgba(79, 172, 254, 0.5);
    text-decoration: none;
}

/* Header */
#header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    height: 60px;
    border-bottom: 2px solid rgba(79, 172, 254, 0.3);
    box-shadow: 0 2px 20px rgba(79, 172, 254, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 30px;
}

.logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(79, 172, 254, 0.5));
}

.logo a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, #4facfe 0%, #a770ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(79, 172, 254, 0.3);
}

.nav-menu {
    display: flex;
    gap: 15px;
}

.nav-menu a {
    color: #e0e0e0;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-menu a:hover {
    background: rgba(79, 172, 254, 0.2);
    color: #4facfe;
    text-decoration: none;
}

.user-info {
    margin-left: auto;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-info a {
    color: #4facfe;
}

/* Left Sidebar */
#left-sidebar {
    width: 180px;
    flex-shrink: 0;
}

.side-menu {
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.side-menu a {
    display: block;
    padding: 10px 18px;
    color: #e0e0e0;
    border-bottom: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.side-menu a:hover {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.3) 0%, rgba(167, 114, 239, 0.3) 100%);
    color: #fff;
    text-decoration: none;
    padding-left: 24px;
    border-left: 3px solid #4facfe;
}

.side-menu a.active {
    background: linear-gradient(135deg, #4facfe 0%, #a770ef 100%);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(79, 172, 254, 0.4);
}

.side-menu a .count {
    float: right;
    color: #a770ef;
    font-size: 10px;
    background: rgba(79, 172, 254, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
}

/* Main Container */
#container {
    max-width: 1100px;
    margin: 75px auto 0;
    display: flex;
    gap: 20px;
    padding: 10px 20px;
}

/* Main Content */
#main-content {
    flex: 1;
    min-width: 0;
}

.content-box {
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.content-header {
    background: linear-gradient(135deg, #4facfe 0%, #a770ef 100%);
    padding: 12px 16px;
    border-bottom: 1px solid rgba(79, 172, 254, 0.3);
    font-weight: 600;
    color: #fff;
    font-size: 14px;
    border-radius: 12px 12px 0 0;
}

.content-body {
    padding: 16px;
    color: #e0e0e0;
}

/* Login Page */
.login-page {
    max-width: 500px;
    margin: 80px auto;
}

.login-box {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(79, 172, 254, 0.2);
}

.login-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #FFFFFF;
    padding: 30px;
    text-align: center;
    border-bottom: 2px solid rgba(79, 172, 254, 0.3);
}

.login-header h1 {
    font-size: 28px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #4facfe 0%, #a770ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-header p {
    font-size: 12px;
    opacity: 0.9;
    color: #a0a0a0;
}

.login-form {
    padding: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #e0e0e0;
    font-weight: 600;
    font-size: 13px;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid rgba(79, 172, 254, 0.3);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: rgba(15, 15, 35, 0.8);
    color: #e0e0e0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #4facfe;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.2);
    outline: none;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.form-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #4facfe 0%, #a770ef 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.6);
}

.btn-secondary {
    background: rgba(79, 172, 254, 0.2);
    color: #e0e0e0;
    border: 1px solid rgba(79, 172, 254, 0.3);
}

.btn-secondary:hover {
    background: rgba(79, 172, 254, 0.3);
    color: #fff;
}

/* Profile Page */
.profile-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 200px;
    flex-shrink: 0;
}

.avatar-img {
    width: 200px;
    height: 200px;
    border: 2px solid rgba(79, 172, 254, 0.5);
    border-radius: 12px;
    background: linear-gradient(135deg, #4facfe 0%, #a770ef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.avatar-actions {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 22px;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(79, 172, 254, 0.3);
}

.profile-status {
    background: rgba(79, 172, 254, 0.1);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-style: italic;
    color: #a0a0a0;
    border-left: 4px solid #4facfe;
}

.profile-details {
    width: 100%;
}

.profile-details td {
    padding: 10px;
    vertical-align: top;
    color: #e0e0e0;
}

.profile-details .label {
    color: #a0a0a0;
    width: 150px;
    font-weight: 500;
}

.profile-details .value {
    color: #e0e0e0;
}

.profile-details .divider {
    background: rgba(79, 172, 254, 0.2);
    height: 1px;
    padding: 0 !important;
}

/* Wall/Posts */
.wall-post {
    border-bottom: 1px solid rgba(79, 172, 254, 0.2);
    padding: 15px 0;
    display: flex;
    gap: 15px;
}

.wall-post:last-child {
    border-bottom: none;
}

.post-avatar {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(79, 172, 254, 0.3);
    background: rgba(79, 172, 254, 0.1);
    flex-shrink: 0;
    border-radius: 8px;
}

.post-content {
    flex: 1;
}

.post-author {
    font-weight: bold;
    color: #4facfe;
    margin-bottom: 5px;
}

.post-date {
    color: #808080;
    font-size: 10px;
    margin-left: 10px;
}

.post-text {
    margin-bottom: 8px;
    color: #e0e0e0;
}

.post-actions {
    display: flex;
    gap: 15px;
    font-size: 10px;
    color: #808080;
}

.post-actions a {
    color: #808080;
}

.post-actions a:hover {
    color: #4facfe;
}

/* Friends List */
.friends-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.friend-item {
    text-align: center;
}

.friend-avatar {
    width: 100px;
    height: 100px;
    border: 1px solid rgba(79, 172, 254, 0.3);
    background: rgba(79, 172, 254, 0.1);
    margin: 0 auto 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0a0a0;
    font-size: 10px;
    border-radius: 8px;
}

.friend-name {
    font-size: 10px;
    color: #4facfe;
}

.friend-online {
    font-size: 9px;
    color: #808080;
}

/* Photos */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.photo-item {
    border: 1px solid rgba(79, 172, 254, 0.3);
    padding: 3px;
    background: rgba(79, 172, 254, 0.1);
    border-radius: 8px;
}

.photo-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    background: rgba(15, 15, 35, 0.5);
    border-radius: 4px;
}

.photo-title {
    font-size: 10px;
    text-align: center;
    padding: 5px 0;
    color: #4facfe;
}

/* Messages */
.messages-list {
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.message-item {
    display: flex;
    padding: 10px;
    border-bottom: 1px solid rgba(79, 172, 254, 0.2);
    background: rgba(26, 26, 46, 0.8);
}

.message-item:last-child {
    border-bottom: none;
}

.message-item.unread {
    background: rgba(79, 172, 254, 0.15);
}

.message-sender {
    width: 150px;
    flex-shrink: 0;
}

.message-sender a {
    font-weight: bold;
    color: #4facfe;
}

.message-preview {
    flex: 1;
    color: #a0a0a0;
}

.message-date {
    width: 100px;
    text-align: right;
    color: #808080;
    font-size: 10px;
}

.message-text {
    color: #a0a0a0;
    font-size: 11px;
    margin-top: 5px;
}

/* Groups */
.groups-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.group-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 8px;
    background: rgba(26, 26, 46, 0.8);
}

.group-avatar {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(79, 172, 254, 0.3);
    background: rgba(79, 172, 254, 0.1);
    flex-shrink: 0;
    border-radius: 8px;
}

.group-info {
    flex: 1;
}

.group-name {
    font-weight: bold;
    color: #4facfe;
    margin-bottom: 5px;
}

.group-members {
    font-size: 10px;
    color: #808080;
}

/* Footer */
#footer {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
    border-top: 1px solid rgba(79, 172, 254, 0.3);
    text-align: center;
    color: rgba(224, 224, 224, 0.8);
    font-size: 13px;
}

#footer a {
    color: #4facfe;
    margin: 0 10px;
    font-weight: 500;
}

#footer a:hover {
    color: #a770ef;
    text-decoration: underline;
}

/* Utility Classes */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.text-center {
    text-align: center;
}

.mt-10 {
    margin-top: 10px;
}

.mb-10 {
    margin-bottom: 10px;
}

.error {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.15);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.success {
    color: #51cf66;
    background: rgba(81, 207, 102, 0.15);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid rgba(81, 207, 102, 0.3);
}

/* Registration Page */
.reg-steps {
    display: flex;
    margin-bottom: 20px;
}

.reg-step {
    flex: 1;
    text-align: center;
    padding: 10px;
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(79, 172, 254, 0.3);
    margin-right: 5px;
    border-radius: 8px;
}

.reg-step:last-child {
    margin-right: 0;
}

.reg-step.active {
    background: linear-gradient(135deg, #4facfe 0%, #a770ef 100%);
    color: #FFFFFF;
    border-color: #4facfe;
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.4);
}

.reg-step.active a {
    color: #FFFFFF;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 1px solid rgba(79, 172, 254, 0.3);
    margin-bottom: 15px;
}

.tab {
    padding: 8px 15px;
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-bottom: none;
    margin-right: 5px;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    color: #e0e0e0;
}

.tab.active {
    background: rgba(79, 172, 254, 0.2);
    font-weight: bold;
    border-bottom: 1px solid rgba(26, 26, 46, 0.8);
    margin-bottom: -1px;
    color: #4facfe;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 15px;
}

.pagination a,
.pagination span {
    padding: 5px 10px;
    border: 1px solid rgba(79, 172, 254, 0.3);
    color: #4facfe;
    background: rgba(26, 26, 46, 0.8);
    border-radius: 4px;
}

.pagination .active {
    background: linear-gradient(135deg, #4facfe 0%, #a770ef 100%);
    color: #FFFFFF;
    border-color: #4facfe;
    box-shadow: 0 0 8px rgba(79, 172, 254, 0.4);
}

/* Online indicator */
.online {
    color: #51cf66;
    font-size: 10px;
}

.offline {
    color: #808080;
    font-size: 10px;
}

/* Voice Messages */
.voice-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: rgba(79, 172, 254, 0.1);
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid rgba(79, 172, 254, 0.2);
}

.voice-message audio {
    flex: 1;
    height: 35px;
}

.voice-message-duration {
    font-size: 10px;
    color: #808080;
    min-width: 40px;
}

.voice-message-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.record-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.4);
}

.record-btn:hover {
    background: linear-gradient(135deg, #ee5a5a 0%, #dd4a4a 100%);
}

.record-btn.recording {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.stop-btn {
    background: #4A76A8;
    color: #FFFFFF;
    border: none;
    border-radius: 3px;
    padding: 8px 15px;
    cursor: pointer;
}

.stop-btn:hover {
    background: #3D6A9B;
}

/* Audio Player */
.audio-player {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: rgba(26, 26, 46, 0.8);
    border-radius: 8px;
    margin-bottom: 5px;
    border: 1px solid rgba(79, 172, 254, 0.2);
}

.audio-play-btn {
    background: linear-gradient(135deg, #4facfe 0%, #a770ef 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(79, 172, 254, 0.4);
}

.audio-play-btn:hover {
    box-shadow: 0 2px 12px rgba(79, 172, 254, 0.6);
}

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

.audio-title {
    font-weight: bold;
    color: #4facfe;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.audio-artist {
    font-size: 10px;
    color: #808080;
}

.audio-duration {
    font-size: 10px;
    color: #808080;
    min-width: 40px;
}

.audio-actions {
    display: flex;
    gap: 5px;
}

.audio-action-btn {
    background: transparent;
    border: none;
    color: #808080;
    cursor: pointer;
    padding: 5px;
}

.audio-action-btn:hover {
    color: #4facfe;
}

/* Video Player */
.video-player {
    background: #000;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    border-radius: 8px;
    border: 1px solid rgba(79, 172, 254, 0.3);
}

.video-player video {
    width: 100%;
    height: auto;
}

.video-item {
    margin-bottom: 20px;
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(26, 26, 46, 0.8);
}

.video-thumbnail {
    width: 100%;
    height: 200px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    padding: 10px;
}

.video-title {
    font-weight: bold;
    color: #4facfe;
    margin-bottom: 5px;
}

.video-description {
    font-size: 11px;
    color: #a0a0a0;
}

/* Notes */
.note-item {
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    background: rgba(26, 26, 46, 0.8);
}

.note-title {
    font-size: 13px;
    font-weight: bold;
    color: #4facfe;
    margin-bottom: 8px;
}

.note-text {
    font-size: 11px;
    color: #e0e0e0;
    line-height: 1.5;
    white-space: pre-wrap;
}

.note-date {
    font-size: 10px;
    color: #808080;
    margin-top: 10px;
}

.note-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(79, 172, 254, 0.2);
}

/* Blog */
.blog-post {
    border: 1px solid #DAE1E8;
    border-radius: 3px;
    padding: 15px;
    margin-bottom: 15px;
    background: #FFFFFF;
}

.blog-title {
    font-size: 16px;
    font-weight: bold;
    color: #45688E;
    margin-bottom: 10px;
}

.blog-meta {
    font-size: 10px;
    color: #999;
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.blog-text {
    font-size: 11px;
    color: #333;
    line-height: 1.6;
    white-space: pre-wrap;
}

.blog-comments {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #DAE1E8;
}

.blog-comment {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #E8E8E8;
}

.blog-comment:last-child {
    border-bottom: none;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border: 1px solid #DAE1E8;
    background: #F0F2F5;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-author {
    font-weight: bold;
    color: #2B587A;
    font-size: 11px;
    margin-bottom: 5px;
}

.comment-text {
    font-size: 11px;
    color: #333;
}

.comment-date {
    font-size: 10px;
    color: #999;
    margin-top: 5px;
}

/* Upload Form */
.upload-form {
    border: 2px dashed #C0CAD5;
    border-radius: 3px;
    padding: 20px;
    text-align: center;
    margin-bottom: 15px;
    background: #F7F7F7;
}

.upload-form:hover {
    border-color: #4A76A8;
}

.upload-form input[type="file"] {
    display: none;
}

.upload-label {
    cursor: pointer;
    color: #4A76A8;
    font-weight: bold;
    display: inline-block;
    pointer-events: auto;
}

.upload-label:hover {
    text-decoration: underline;
}

/* Recording Timer */
.recording-timer {
    font-size: 18px;
    font-weight: bold;
    color: #E94545;
    text-align: center;
    padding: 10px;
}

/* Media Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.media-item {
    border: 1px solid #DAE1E8;
    border-radius: 3px;
    overflow: hidden;
    background: #FFFFFF;
}

.media-thumbnail {
    width: 100%;
    height: 120px;
    background: #F0F2F5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.media-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-info {
    padding: 10px;
}

.media-title {
    font-weight: bold;
    color: #2B587A;
    font-size: 11px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.media-meta {
    font-size: 10px;
    color: #999;
}

/* ============================================ */
/* НОВЫЕ СТИЛИ ДЛЯ ФУНКЦИЙ Orbita 2007       */
/* ============================================ */

/* Поиск людей */
.search-form {
    background: #F7F7F7;
    padding: 15px;
    border-radius: 3px;
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.form-row .form-group {
    flex: 1;
}

.users-list {
    margin-top: 15px;
}

.user-card {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 1px solid #DAE1E8;
    border-radius: 3px;
    margin-bottom: 10px;
    background: #FFFFFF;
}

.user-avatar {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

.online-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
}

.online-indicator.online {
    background: #4BB344;
}

.online-indicator.offline {
    background: #999;
}

.user-info h3 {
    font-size: 14px;
    color: #2B587A;
    margin-bottom: 5px;
}

.user-city, .user-university, .user-faculty, .user-grad {
    font-size: 10px;
    color: #666;
    margin-bottom: 3px;
}

.user-actions {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Рейтинг пользователя */
.user-rating {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #FFFFFF;
    padding: 10px 15px;
    border-radius: 3px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-value {
    font-size: 24px;
    font-weight: bold;
}

.rating-label {
    font-size: 11px;
    opacity: 0.9;
}

.rating-votes {
    font-size: 10px;
    opacity: 0.8;
}

.rating-controls {
    margin-left: auto;
    display: flex;
    gap: 5px;
}

.rating-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.1s;
}

.rating-btn:hover {
    transform: scale(1.1);
}

.rating-btn.up {
    background: #4BB344;
    color: #FFFFFF;
}

.rating-btn.down {
    background: #E94545;
    color: #FFFFFF;
}

/* Статус пользователя */
.user-status {
    background: #F0F2F5;
    padding: 10px 15px;
    border-radius: 3px;
    margin-bottom: 15px;
    border-left: 3px solid #2B587A;
}

.status-text {
    font-style: italic;
    color: #2B587A;
    font-size: 12px;
}

.status-mood, .status-music {
    font-size: 10px;
    color: #666;
    margin-top: 5px;
}

/* Стена с лайками и комментариями */
.wall-post {
    border: 1px solid #DAE1E8;
    border-radius: 3px;
    padding: 15px;
    margin-bottom: 15px;
    background: #FFFFFF;
}

.post-header {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.post-avatar {
    width: 50px;
    height: 50px;
    border-radius: 3px;
}

.post-info {
    flex: 1;
}

.post-author {
    font-weight: bold;
    color: #2B587A;
    font-size: 12px;
}

.post-date {
    font-size: 10px;
    color: #999;
}

.post-text {
    margin-bottom: 10px;
    line-height: 1.5;
}

.post-actions {
    display: flex;
    gap: 15px;
    padding-top: 10px;
    border-top: 1px solid #DAE1E8;
}

.like-btn, .comment-btn {
    background: none;
    border: none;
    color: #2B587A;
    cursor: pointer;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background 0.2s;
}

.like-btn:hover, .comment-btn:hover {
    background: #F0F2F5;
}

.like-btn.liked {
    color: #E94545;
}

.likes-count {
    font-weight: bold;
}

/* Комментарии к посту */
.post-comments {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #DAE1E8;
}

.comment {
    display: flex;
    gap: 10px;
    padding: 8px 0;
}

.comment-avatar {
    width: 30px;
    height: 30px;
    border-radius: 3px;
}

.comment-body {
    flex: 1;
    background: #F7F7F7;
    padding: 8px;
    border-radius: 3px;
}

.comment-author {
    font-weight: bold;
    color: #2B587A;
    font-size: 11px;
    margin-bottom: 3px;
}

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

.comment-date {
    font-size: 9px;
    color: #999;
    margin-top: 3px;
}

/* Подарки */
.gifts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.gift-item {
    text-align: center;
    padding: 10px;
    border: 1px solid #DAE1E8;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}

.gift-item:hover {
    border-color: #2B587A;
    background: #F7F7F7;
}

.gift-item.selected {
    border-color: #667eea;
    background: #F0F2F5;
}

.gift-image {
    font-size: 48px;
    margin-bottom: 5px;
}

.gift-name {
    font-size: 11px;
    font-weight: bold;
    color: #2B587A;
}

.gift-price {
    font-size: 10px;
    color: #666;
}

.gift-category-title {
    font-size: 12px;
    font-weight: bold;
    color: #2B587A;
    margin: 15px 0 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #DAE1E8;
}

/* Закладки */
.bookmarks-list {
    margin-top: 15px;
}

.bookmark-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #DAE1E8;
    border-radius: 3px;
    margin-bottom: 10px;
    background: #FFFFFF;
}

.bookmark-type {
    font-size: 10px;
    color: #999;
    padding: 3px 8px;
    background: #F7F7F7;
    border-radius: 3px;
}

/* Опросы */
.poll-container {
    background: #F7F7F7;
    padding: 15px;
    border-radius: 3px;
    margin: 15px 0;
}

.poll-question {
    font-weight: bold;
    color: #2B587A;
    margin-bottom: 10px;
}

.poll-answers {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.poll-answer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: #FFFFFF;
    border: 1px solid #DAE1E8;
    border-radius: 3px;
    cursor: pointer;
}

.poll-answer:hover {
    border-color: #2B587A;
}

.poll-answer.selected {
    background: #F0F2F5;
    border-color: #2B587A;
}

.poll-bar {
    height: 20px;
    background: #4A76A8;
    border-radius: 3px;
    margin-top: 5px;
    transition: width 0.3s;
}

.poll-percent {
    font-size: 10px;
    color: #666;
    margin-left: 10px;
}

/* Фото с отметками */
.photo-with-tags {
    position: relative;
    display: inline-block;
}

.photo-tag {
    position: absolute;
    background: rgba(43, 88, 122, 0.9);
    color: #FFFFFF;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 10px;
    cursor: pointer;
    transform: translate(-50%, -100%);
}

.photo-tag:hover {
    background: #2B587A;
}

/* Друзья онлайн */
.online-friends {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.online-friend {
    text-align: center;
    width: 60px;
}

.online-friend-avatar {
    width: 50px;
    height: 50px;
    border-radius: 3px;
    position: relative;
}

.online-friend-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

.online-friend-name {
    font-size: 9px;
    color: #2B587A;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Анкета пользователя */
.profile-section {
    margin-bottom: 20px;
}

.profile-section-title {
    font-size: 12px;
    font-weight: bold;
    color: #2B587A;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #DAE1E8;
}

.profile-info-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #F0F2F5;
}

.profile-label {
    width: 150px;
    color: #999;
    font-size: 10px;
}

.profile-value {
    flex: 1;
    color: #2B587A;
    font-size: 11px;
}

/* Топ пользователей */
.top-users-table {
    width: 100%;
    border-collapse: collapse;
}

.top-users-table th,
.top-users-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #DAE1E8;
}

.top-users-table th {
    background: #F7F7F7;
    font-weight: bold;
    color: #2B587A;
}

.top-users-table tr:hover {
    background: #F0F2F5;
}

.rating-rank {
    font-weight: bold;
    color: #667eea;
    width: 40px;
}

/* Кнопки */
.btn-small {
    padding: 5px 10px;
    font-size: 10px;
}

/* Вкладки подарков */
.gift-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.gift-tab {
    padding: 8px 15px;
    background: #F7F7F7;
    border: 1px solid #DAE1E8;
    border-radius: 3px;
    cursor: pointer;
    font-size: 11px;
}

.gift-tab.active {
    background: #2B587A;
    color: #FFFFFF;
    border-color: #2B587A;
}

/* Форма отправки подарка */
.gift-send-form {
    margin-top: 15px;
    padding: 15px;
    background: #F7F7F7;
    border-radius: 3px;
}

.gift-message {
    width: 100%;
    min-height: 80px;
    padding: 8px;
    border: 1px solid #DAE1E8;
    border-radius: 3px;
    resize: vertical;
}

/* Статус "В сети" */
.online-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #4BB344;
    color: #FFFFFF;
    border-radius: 3px;
    font-size: 10px;
    margin-left: 5px;
}
