/* Стили для ПК версии */

:root {
    --primary: #1a73e8;
    --primary-dark: #0d47a1;
    --secondary: #ff6d00;
    --light: #f8f9fa;
    --dark: #202124;
    --gray: #5f6368;
    --light-gray: #dadce0;
    --success: #34a853;
    --telegram: #0088cc;
    --google: #DB4437;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
}

.nav a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-size: 16px;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

.switch-version {
    font-size: 20px !important;
    opacity: 0.9;
    text-decoration: none !important;
}

.switch-version:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Main */
.main {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

/* Posts */
.posts-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.post-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.post-card h3 {
    margin-bottom: 10px;
}

.post-card h3 a {
    color: #667eea;
    text-decoration: none;
    font-size: 22px;
}

.post-card h3 a:hover {
    text-decoration: underline;
}

.post-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.post-excerpt {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
}

.btn-read {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-read:hover {
    background: #5568d3;
}

/* Post Full */
.post-full {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.post-full h1 {
    color: #333;
    margin-bottom: 15px;
    font-size: 32px;
}

.post-content {
    margin-top: 25px;
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

.btn-back {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 16px;
}

.btn-back:hover {
    text-decoration: underline;
}

/* Form */
.post-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 700px;
    margin: 0 auto;
}

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

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

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
}

.btn-submit {
    background: #667eea;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    margin-right: 10px;
}

.btn-submit:hover {
    background: #5568d3;
}

.btn-cancel {
    display: inline-block;
    color: #666;
    text-decoration: none;
    padding: 12px 30px;
}

.btn-cancel:hover {
    text-decoration: underline;
}

.empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 18px;
}

.empty a {
    color: #667eea;
    text-decoration: none;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 60px;
}

/* Registration Page */
.registration-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: url("https://cdn.wallpapersafari.com/71/61/aLoJSe.jpg") center center / cover no-repeat fixed;
    position: relative;
    overflow: hidden;
}

.registration-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.registration-page > * {
    position: relative;
    z-index: 1;
}

.registration-container {
    display: flex;
    max-width: 950px;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    border-radius: 14px;
    overflow: hidden;
    background: white;
}

.registration-sidebar {
    width: 45%;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: white;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.registration-logo {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.registration-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.registration-sidebar h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.registration-sidebar p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.registration-features {
    list-style: none;
    margin-top: 15px;
}

.registration-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.registration-features i {
    margin-right: 8px;
    color: #ff6d00;
    font-size: 0.9rem;
}

.registration-content {
    width: 55%;
    background: white;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.registration-header {
    margin-bottom: 20px;
}

.registration-header h1 {
    font-size: 1.6rem;
    color: #202124;
    margin-bottom: 8px;
}

.registration-header p {
    color: #5f6368;
    font-size: 0.9rem;
}

.registration-form {
    margin-bottom: 15px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 8px;
    margin-top: 3px;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: #5f6368;
    line-height: 1.4;
}

.checkbox-group a {
    color: #1a73e8;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.registration-footer {
    margin-top: 15px;
    text-align: center;
    color: #5f6368;
    font-size: 0.85rem;
}

.social-login {
    display: flex;
    gap: 12px;
    margin: 15px 0;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #dadce0;
    border-radius: 6px;
    background: white;
    color: #202124;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.social-btn i {
    margin-right: 6px;
    font-size: 1rem;
}

.social-btn.google {
    border-color: #DB4437;
    color: #DB4437;
}

.social-btn.google:hover {
    background: #DB4437;
    color: white;
}

.social-btn.telegram {
    border-color: #0088cc;
    color: #0088cc;
}

.social-btn.telegram:hover {
    background: #0088cc;
    color: white;
}

.divider {
    display: flex;
    align-items: center;
    margin: 15px 0;
    color: #5f6368;
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #dadce0;
}

.divider span {
    padding: 0 12px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 10px;
    padding: 20px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dadce0;
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #202124;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: #5f6368;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 15px;
}

/* Скрытие header и footer на страницах авторизации */
body.auth-page .header,
body.auth-page .footer {
    display: none;
}

body.auth-page .main {
    padding: 0;
    min-height: 100vh;
}

body.auth-page .main .container {
    padding: 0;
    max-width: 100%;
}

/* Auth Page Wrapper */
.auth-page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: url("https://cdn.wallpapersafari.com/71/61/aLoJSe.jpg") center center / cover no-repeat fixed;
    position: relative;
    overflow: hidden;
}

.auth-page-wrapper::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.auth-page-wrapper > * {
    position: relative;
    z-index: 1;
}

/* Auth Container */
.auth-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 560px;
}

.registration-container,
.login-container {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

.login-container {
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}

.auth-active .registration-container {
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
}

.auth-active .login-container {
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
}

/* Login Page (для обратной совместимости) */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: url("https://cdn.wallpapersafari.com/71/61/aLoJSe.jpg") center center / cover no-repeat fixed;
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.login-page > * {
    position: relative;
    z-index: 1;
}

.login-container {
    display: flex;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.login-sidebar {
    width: 45%;
    background: linear-gradient(135deg, #ff6d00 0%, #e65100 100%);
    color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-logo {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.login-logo i {
    margin-right: 8px;
    font-size: 1.5rem;
}

.login-sidebar h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.login-sidebar p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.login-features {
    list-style: none;
}

.login-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.8rem;
}

.login-features i {
    margin-right: 8px;
    color: white;
    font-size: 0.9rem;
    min-width: 16px;
}

.login-content {
    width: 55%;
    background: white;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.form-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.form-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.login-header {
    margin-bottom: 25px;
}

.login-header h1 {
    font-size: 1.4rem;
    color: #202124;
    margin-bottom: 8px;
}

.login-header p {
    color: #5f6368;
    font-size: 0.85rem;
}

.login-form {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.form-actions {
    margin-top: auto;
    margin-bottom: 5px;
}

.login-footer {
    margin-top: 15px;
    text-align: center;
    color: #5f6368;
    font-size: 0.8rem;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.login-footer p {
    margin-bottom: 8px;
}

.login-footer a {
    color: var(--primary) !important;
    text-decoration: none;
    font-weight: 500;
    transition: text-decoration 0.2s;
}

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

/* Специфичные стили для форм авторизации */
.login-page .form-group,
.registration-page .form-group {
    margin-bottom: 12px;
}

.login-page .form-group label,
.registration-page .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #202124;
    font-size: 0.85rem;
}

.login-page .form-control,
.registration-page .form-control {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #dadce0;
    border-radius: 5px;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.login-page .form-control:focus,
.registration-page .form-control:focus {
    border-color: #1a73e8;
    outline: none;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.login-page .checkbox-group,
.registration-page .checkbox-group {
    margin-bottom: 10px;
}

.login-page .checkbox-group label,
.registration-page .checkbox-group label {
    font-size: 0.8rem;
    color: #5f6368;
    line-height: 1.3;
}

/* Базовые стили для кнопок */
.btn {
    display: inline-block;
    padding: 10px 16px;
    border: none;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--light-gray);
    color: var(--dark);
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.login-page .btn-primary,
.registration-page .btn-primary {
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--primary) !important;
    color: white !important;
    border: none !important;
}

.login-page .btn-primary:hover,
.registration-page .btn-primary:hover {
    background: var(--primary-dark) !important;
}

.login-page .social-login,
.registration-page .social-login {
    gap: 10px;
    margin-bottom: 15px;
}

.login-page .social-btn,
.registration-page .social-btn {
    padding: 9px;
    font-size: 0.8rem;
}

.login-page .social-btn i,
.registration-page .social-btn i {
    margin-right: 5px;
    font-size: 0.9rem;
}

.login-page .divider,
.registration-page .divider {
    margin: 15px 0;
    font-size: 0.8rem;
}

.toggle-auth {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}

.toggle-auth:hover {
    text-decoration: underline;
}

/* Success/Verify Pages */
.success-page,
.verify-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.success-container,
.verify-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.success-icon,
.verify-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.success-icon {
    color: #34a853;
}

.verify-icon.success {
    color: #34a853;
}

.verify-icon.error {
    color: #DB4437;
}

.success-container h1,
.verify-container h1 {
    font-size: 1.8rem;
    color: #202124;
    margin-bottom: 15px;
}

.success-container p,
.verify-container p {
    color: #5f6368;
    margin-bottom: 15px;
    line-height: 1.6;
}

.verification-link {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.success-actions {
    margin-top: 25px;
}

/* Verification Page */
.verification-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.verification-container {
    display: flex;
    max-width: 1000px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    overflow: hidden;
    background: white;
}

.verification-sidebar {
    width: 40%;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.verification-logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.verification-logo i {
    margin-right: 10px;
    font-size: 2rem;
}

.verification-sidebar h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.verification-sidebar p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.verification-features {
    list-style: none;
    margin-top: 20px;
}

.verification-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.verification-features i {
    margin-right: 10px;
    color: #ff6d00;
}

.verification-content {
    width: 60%;
    background: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.verification-header {
    margin-bottom: 30px;
}

.verification-header h1 {
    font-size: 1.8rem;
    color: #202124;
    margin-bottom: 10px;
}

.verification-header p {
    color: #5f6368;
    font-size: 0.95rem;
}

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

.verify-success-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.verify-success-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.verify-success-icon {
    font-size: 4rem;
    color: #34a853;
    margin-bottom: 20px;
}

.verify-success-container h1 {
    font-size: 1.8rem;
    color: #202124;
    margin-bottom: 15px;
}

.verify-success-container p {
    color: #5f6368;
    margin-bottom: 25px;
    line-height: 1.6;
}

.profile-success-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.profile-success-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.profile-success-icon {
    font-size: 4rem;
    color: #34a853;
    margin-bottom: 20px;
}

.profile-success-container h1 {
    font-size: 1.8rem;
    color: #202124;
    margin-bottom: 15px;
}

.profile-success-container p {
    color: #5f6368;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Profile Page */
.profile-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.profile-container {
    display: flex;
    max-width: 1100px;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    border-radius: 14px;
    overflow: hidden;
    background: white;
}

.profile-sidebar {
    width: 40%;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: white;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-logo {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.profile-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.profile-sidebar h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.profile-sidebar p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.profile-features {
    list-style: none;
    margin-top: 15px;
}

.profile-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.profile-features i {
    margin-right: 8px;
    color: #ff6d00;
    font-size: 0.9rem;
}

.profile-content {
    width: 60%;
    background: white;
    padding: 25px;
    max-height: 90vh;
    overflow-y: auto;
}

.profile-header {
    margin-bottom: 20px;
}

.profile-header h1 {
    font-size: 1.6rem;
    color: #202124;
    margin-bottom: 8px;
}

.profile-header p {
    color: #5f6368;
    font-size: 0.9rem;
}

.profile-form {
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 12px;
}

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

.gender-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.gender-tag {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #dadce0;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.gender-tag.active {
    background: #1a73e8;
    color: white;
    border-color: #1a73e8;
}

.photo-tabs {
    display: flex;
    border-bottom: 1px solid #dadce0;
    margin-bottom: 15px;
}

.photo-tab {
    padding: 8px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    color: #5f6368;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.photo-tab.active {
    color: #1a73e8;
    border-bottom-color: #1a73e8;
}

.tab-content {
    display: none;
}

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

.avatar-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.avatar-option {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.avatar-option.selected {
    border-color: #1a73e8;
}

.preview-img {
    max-width: 150px;
    border-radius: 8px;
    display: none;
    margin-top: 10px;
}

.location-status {
    font-size: 0.8rem;
    color: #5f6368;
    margin-top: 5px;
}

.camera-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.camera-content {
    background: white;
    border-radius: 10px;
    padding: 20px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.camera-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dadce0;
}

.camera-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #202124;
}

.close-camera {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: #5f6368;
}

.camera-preview {
    width: 100%;
    max-height: 300px;
    background: #f0f0f0;
    border-radius: 8px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.camera-preview video,
.camera-preview canvas {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.camera-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.camera-actions .btn {
    flex: 1;
}

@media (max-width: 768px) {
    .auth-container {
        height: auto;
        max-width: 450px;
        overflow-y: auto;
    }
    
    .registration-container, 
    .login-container {
        flex-direction: column;
        position: relative;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: all !important;
    }
    
    .auth-active .registration-container {
        display: none;
    }
    
    .auth-active .login-container {
        display: flex;
    }
    
    .registration-container,
    .login-container,
    .verification-container,
    .profile-container {
        flex-direction: column;
        max-width: 450px;
    }
    
    .registration-sidebar, .registration-content,
    .login-sidebar, .login-content,
    .verification-sidebar, .verification-content,
    .profile-sidebar, .profile-content {
        width: 100%;
    }
    
    .registration-sidebar,
    .login-sidebar,
    .verification-sidebar,
    .profile-sidebar {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .avatar-options {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .profile-content {
        max-height: none;
    }
    
    .social-login {
        flex-direction: column;
    }
    
    .success-container,
    .verify-container,
    .verification-content {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .auth-container {
        max-width: 95%;
    }
}

