@font-face {
    font-family: 'YS Text';
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    src:
        url(//yastatic.net/s3/home/fonts/ys/1/text-regular.woff2) format('woff2'),
        url(//yastatic.net/s3/home/fonts/ys/1/text-regular.woff) format('woff')
}

@font-face {
    font-family: 'YS Text';
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    src:
        url(//yastatic.net/s3/home/fonts/ys/1/text-medium.woff2) format('woff2'),
        url(//yastatic.net/s3/home/fonts/ys/1/text-medium.woff) format('woff')
}

@font-face {
    font-family: 'YS Text';
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
    src:
        url(//yastatic.net/s3/home/fonts/ys/1/text-bold.woff2) format('woff2'),
        url(//yastatic.net/s3/home/fonts/ys/1/text-bold.woff) format('woff')
}

html { scroll-behavior: auto !important; }

body {
    font-family: 'YS Text', 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-feature-settings: 'liga', 'kern';
    -moz-font-feature-settings: 'liga', 'kern';
    font-feature-settings: 'liga', 'kern';
    font-size: .7rem;
}

h6 { color: #777; }
h6 i { margin-right: .3em; }

/*input.searchstr.form-control { width: 20em; }*/

.nameslist { margin-top: 1rem; font-size: 1.5em; }
.nameslist tbody th { font-weight: normal; text-align: right; }

.nameslist .oldp { text-decoration: line-through; text-align: right; }
.nameslist .date { white-space: nowrap; }
.nameslist .name { cursor: default; }
.nameslist .exp { opacity: .5; }
.nameslist .watch { font-size: 1rem; font-weight: bold; }
.nameslist .name i.bi {
    margin-right: .6rem;
    vertical-align: middle;
    color: #999;
    cursor: pointer;
}
.nameslist .name i.bi.active { color: #ff436c; }
.nameslist .name i.fav { position: relative; top: 1px; }
.nameslist tr.invalid td { background-color: #ffaa002e; }

.lastupdate { font-size: 11px; color: #bbb; }

.pbox {
    width: 500px;
    height: 500px;
    background-size: 1024px;
    background-repeat: no-repeat;
}

.min { color: #ddd; }
.min a:link { color: #aaa; }
.min a:hover { color: #999; }
.min a:visited { color: #bbb; }

.min2 { color: #bbb; }
.min2 a:link { color: #aaa; }
.min2 a:hover { color: #999; }
.min2 a:visited { color: #ccc; }

.end_message {
    padding: 1em;
    font-size: 1.4em;
    border-radius: .3em;
    margin:1em;
}

footer {
    margin: 3em auto;
    text-align: center;
}

.btn-xs {
    font-size: 0.575rem;
    padding: 0.1rem 0.3rem;
    margin-right: .3rem;
}

/* Кнопка Google */
.btn-google {
    background: #fff;
    color: #757575;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-google:hover {
    background: #f5f5f5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Аватар пользователя */
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
}

/* Выпадающее меню пользователя */
.user-menu .dropdown-toggle {
    background: none;
    border: none;
    display: flex;
    align-items: center;
}

.user-menu .dropdown-toggle::after {
    margin-left: 8px;
}

/* Разделитель */
.divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
}

.divider span {
    background: white;
    padding: 0 15px;
    color: #666;
    font-size: 14px;
}

/* Социальные кнопки */
.social-buttons {
    margin: 20px 0;
}

.social-login {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}
