:root {
    --primary: #f26038;
    --primary-light: #f57f5c;
    --accent: #f5a623;
    --bg: #f5f6f8;
    --card: #ffffff;
    --text: #1f2937;
    --text-muted: #6b7280;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: grid;
    place-items: center;
}

.login-page {
    width: 100%;
    max-width: 420px;
    padding: 2rem;
}

.login-container {
    background: var(--card);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.logo-area {
    text-align: center;
    margin-bottom: 2.5rem;
}

.logo-area h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.input-group {
    margin-bottom: 1.4rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

input {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.02);
    color: var(--text);
    font-size: 1rem;
    transition: all 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(242, 96, 56, 0.15);
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.toggle-password:hover {
    color: var(--text);
}

.options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.2rem 0;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.forgot-password {
    color: var(--primary-light);
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-primary {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242, 96, 56, 0.25);
}

.footer-links {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-links a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    text-decoration: underline;
}

.terms-row {
    margin: 1.4rem 0;
    font-size: 0.88rem;
    line-height: 1.4;
}

.terms-checkbox {
    align-items: flex-start;
    gap: 0.6rem;
}

.terms-checkbox span a {
    color: var(--primary-light);
    text-decoration: underline;
}

.terms-checkbox span a:hover {
    text-decoration: none;
}


.error-message {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    display: none;
}


.success-message {
    background: rgba(242, 96, 56, 0.05);
    border: 1px solid rgba(242, 96, 56, 0.2);
    color: var(--primary);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
    display: none;
}



.admin-page {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    padding: 2rem;
    font-family: 'Inter', sans-serif;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(160, 65, 73, 0.2);
}

.admin-header h1 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-light);
}

.admin-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-logout {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-logout:hover {
    background: rgba(255, 107, 107, 0.25);
}

.table-container {
    background: var(--card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(160, 65, 73, 0.1);
}

.users-table {
    width: 100%;
    border-collapse: collapse;
}

.users-table th,
.users-table td {
    padding: 1rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid rgba(160, 65, 73, 0.08);
}

.users-table th {
    background: rgba(106, 77, 82, 0.15);
    color: var(--primary-light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
}

.users-table tr:hover {
    background: rgba(160, 65, 73, 0.08);
}

.status-active {
    color: #51cf66;
    font-weight: 500;
}

.no-data {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}


.logo-area {
    text-align: center;
    margin-bottom: 2.5rem;
}

.google-logo {
    width: 140px;
    
    height: auto;
    margin-bottom: 1.2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


@media (max-width: 480px) {
    .google-logo {
        width: 120px;
    }
}

.help-text {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
    display: block;
}

.telegram-section {
    margin-top: 2.5rem;
    text-align: center;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(160, 65, 73, 0.15);
}

.telegram-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.btn-telegram {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #0088cc, #006699);
    color: white;
    padding: 1rem 1.6rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.25s;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.25);
}

.btn-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 136, 204, 0.4);
}

.telegram-icon {
    font-size: 1.4rem;
}

.telegram-info {
    display: block;
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}