	  	    .payment-system {
            padding: 2px;
            margin: 0 auto 20px auto;
        }
        .wallet-info {
            display: none;
            align-items: center;
            margin-bottom: 10px;
        }
		#erc20-icon,#erc20-address{
			display: none;
		}
        .wallet-icon {
            height: 200px;
            display: none; 
            margin: 0 auto;
			float:right;
        }
        .wallet-address {
            margin-top: 10px; /* Отступ адреса кошелька сверху */
            text-align: center; /* Выравнивание адреса по центру */    
			border: 1px solid gray;
			padding: 2px;
			font-size: 0.7rem;
        }
		input[type="radio" i] {
			margin-left:0px;
			accent-color: #1e5ba7;
		}
		.payinfo{
			display:none;
			margin: 3px 0px;
		}
		.infochanger{
			color:gray;
			margin: 10px 0px 0px 0px;
		}
		.infochanger a{
			color:#483d8b;
		}
		.dotsum{
			text-decoration: line-through;
			vertical-align: top;
			color: gray;
		}

#formsum label {
  position: relative;
  display: block;
  padding: 8px 8px 8px 32px; /* отступ слева под радио */
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  background-color: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

#formsum label:hover {
  background-color: #f5f4f4;
}

#formsum label:has(input[type="radio"]:checked) {
  border-color: rgb(44, 44, 44);
}

#formsum .radio-wrap {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
}

#formsum input[type="radio"] {
  width: 0.9rem;
  height: 0.9rem;
  margin: 0;
}

/* TorrServer / VilkaDB perk badge — main row vertically centered, badge ignores flow */
#formsum label.donation-tier-with-badge {
  display: flex;
  align-items: center;
  padding: 8px 7.75rem 8px 32px;
  min-height: 2.65rem;
}
#formsum label.donation-tier-with-badge .donation-tier-main {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.35;
}
#formsum label.donation-tier-with-badge .radio-wrap {
  top: 50%;
  transform: translateY(-50%);
}
#formsum .donation-tier-badge {
  position: absolute;
  top: 2px;
  right: 6px;
  max-width: 7.25rem;
  text-align: right;
  line-height: 1.05;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  background: #FF9800;
  border: 1px solid #ea580c;
  padding: 1px 5px;
  border-radius: 5px;
  pointer-events: none;
  box-shadow: 0 1px 2px rgba(154, 52, 18, 0.25);
}
@media (max-width: 440px) {
  #formsum label.donation-tier-with-badge {
    padding-right: 6px;
    padding-left: 32px;
    min-height: 2.85rem;
  }
  #formsum .donation-tier-badge {
    top: 4px;
    right: 6px;
    max-width: min(7.25rem, calc(100% - 40px));
    text-align: right;
  }
}

.radio-line {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 1.1rem;
}
.radio-line input[type="radio"] {
  margin: 0px 2px 0 0;
}
a, a:hover{
	color:black;
	text-decoration:none;
}
*{
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
}
#ressave{
	font-size: 1.2rem;
    font-family: Google Sans;
    line-height: 1.2rem;
}
.icon{
	width:40px;
	height:32px;
}
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 1.7rem;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}
body{
	color: black;
  font-family: 'Open Sans', sans-serif;
  background:#e2e2e2;
}

.container{
  font-family: GeistSans, GeistSans Fallback;
  position:relative;
  top:50px;
  display:block;
  background:#fff;
  border-radius:5px;
  z-index:1;  
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
}

h2{
  padding:40px;
  color:#414141;
}

.ch input,.container input,.submenu input{
  display:block;
  height:50px;
  width:90%;
  margin:0 auto;
  border:none;
  &::placeholder{
    -webkit-transform:translateY(0px);
      transform:translateY(0px);
    -webkit-transition:.5s;
      transition:.5s;
  }
  &:hover,
  &:focus,
  &:active:focus{
    outline:none;
    border-bottom:1px solid #ff5722;
    &::placeholder{
      position:relative;
      -webkit-transform:translateY(-20px);
      transform:translateY(-15px);
      
    }
  }
}
response{
	font-size: 1.5em;
    padding-bottom: 16px;
    display: block;
}
.linkcr{
	border: 1px solid gray;
    padding: 3px;
    margin: 3px;
    width: max-content;
    display: block;
    border-radius: 5px;
}

.email,
.pwd{
  position:relative;
  border-bottom:1px solid rgba(0,0,0,.1);
  padding-left:20px;
  font-family: 'Open Sans', sans-serif;
  color:#858585;
  -webkit-transition:.5s;
  transition:.5s;
}



.link{
    text-decoration: underline;
    display: inline-block;
    text-align: center;
    width: 100%;
    margin: 10px 0px 0px 0px;
    text-transform: uppercase;
    color: #5f5e5e;
    font-weight: lighter;
    -webkit-transition: .5s;
    transition: .5s;
}





h3{
  position:absolute;
  top:-100%;
  left:20%; 
  text-transform:uppercase;
  font-weight:bolder;
  color:rgba(255,255,255,.3);
  -webkit-transition:.3s ease-in-out 1.2s;
  transition:.3s ease-in-out 1.2s;
}
.welcome{
	font-family: 'Google Sans',Roboto,Arial,sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 2.25rem;
    hyphens: auto;
    word-break: break-word;
    word-wrap: break-word;
    color: #202124;
    text-align: center;
	margin: 10px 0px;
}
.welcome a{
	border-bottom: 1px dotted black;
}
#main{
	text-align:center;
	max-width: 970px;
	margin: auto;
}
.content{ 	
	text-align:left;
    border: 1px solid #dadce0;
    border-radius: 8px;
    padding: 10px;
    background: #f9f8f8;
}
@media (max-width: 768px) {
	#body{
		max-width: 768px;
	}
	#main{
		text-align:center;
		margin-left: 10px;
		margin-right: 5px;
	}

}





.ch {
    padding: 16px;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.ch .chtitle {
    font-family: Roboto, Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #5f6368;
    margin-bottom: 8px;
}

.ch .chdescription {
    font-family: Roboto, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
    color: #202124;
    margin-bottom: 12px;
    overflow: hidden;
    word-break: break-word;
}


.ch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.ch .butmenu {
 	margin-left: 10px;
}

.ch a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    padding: 10px 0;
    color: #4285f4;
    font-weight: 500;
    width: 100%;
}

.ch .chlink {
    flex: 1;
    font-size: 1rem;
}

.ch .material-icons {
    font-size: 1.8rem;
    color: #4285f4;
}
.chlink .material-icons {
    font-size: 1rem;
    color: #3b80ff;
    float: left;
	margin-right: 2px;
}
.ch input,
.ch textarea {
    width: 100%;
    box-sizing: border-box;
    direction: ltr;
    text-align: left;
    border-radius: 4px;
    color: #202124;
    font-size: 1rem;
    margin: 8px 0;
    padding: 12px 14px;
    border: 1px solid #ccc;
    background: #fff;
}

.ch textarea {
    resize: vertical;
    min-height: 120px;
}
@media (max-width: 600px) {
    .ch {
        padding: 12px;
    }
    .chdescription textarea {
        font-size: 0.95rem;
        padding: 10px;
    }
}

/* Compact layout for /personal-data */
.content.personal-data-page {
    padding: 8px;
}
.content.personal-data-page .ch {
    padding: 9px 10px;
    border-bottom: 1px solid #eceff3;
    align-items: flex-start;
    gap: 4px;
}
.content.personal-data-page .ch .ch-header {
    margin-bottom: 2px;
}
.content.personal-data-page .ch .chtitle {
    font-size: 0.71rem;
    margin-bottom: 2px;
    letter-spacing: .02em;
}
.content.personal-data-page .ch .chdescription {
    font-size: 0.92rem;
    line-height: 1.3;
    margin-bottom: 4px;
    color: #334155;
}
.content.personal-data-page .ch a {
    padding: 4px 0 1px;
    min-height: 26px;
}
.content.personal-data-page .ch .chlink {
    font-size: 0.9rem;
    color: #1d4ed8;
}
.content.personal-data-page .ch .material-icons {
    font-size: 1.25rem;
}
.content.personal-data-page .chbefore {
    margin-bottom: 4px;
}

/* Cloud-like layout for /personal-data?act=files */
.content.personal-data-page.file-cloud-page,
.content.activity-page.file-cloud-page {
    background: #f5f7fb;
}
.content.personal-data-page.file-cloud-page .ch.cloud-row,
.content.activity-page.file-cloud-page .ch.cloud-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    margin: 0 0 8px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.content.personal-data-page.file-cloud-page .cloud-icon,
.content.activity-page.file-cloud-page .cloud-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #1d4ed8;
    flex: 0 0 34px;
}
.content.personal-data-page.file-cloud-page .cloud-icon .material-icons,
.content.activity-page.file-cloud-page .cloud-icon .material-icons {
    font-size: 1.15rem;
    color: #1d4ed8;
}
.content.personal-data-page.file-cloud-page .cloud-main,
.content.activity-page.file-cloud-page .cloud-main {
    min-width: 0;
    flex: 1 1 auto;
}
.content.personal-data-page.file-cloud-page .cloud-main .chtitle,
.content.activity-page.file-cloud-page .cloud-main .chtitle {
    font-size: 0.82rem;
    text-transform: none;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
    font-weight: 600;
}
.content.personal-data-page.file-cloud-page .cloud-main .chdescription,
.content.activity-page.file-cloud-page .cloud-main .chdescription {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 0.79rem;
    line-height: 1.28;
}
.content.personal-data-page.file-cloud-page .cloud-open,
.content.activity-page.file-cloud-page .cloud-open {
    margin-top: 6px;
    padding: 4px 0 0;
    min-height: 24px;
}
.content.personal-data-page.file-cloud-page .cloud-open .chlink,
.content.activity-page.file-cloud-page .cloud-open .chlink {
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 600;
}
.content.personal-data-page.file-cloud-page .cloud-open .material-icons,
.content.activity-page.file-cloud-page .cloud-open .material-icons {
    font-size: 1.05rem;
    color: #94a3b8;
}

.content.personal-data-page.file-cloud-page .file-cloud-toolbar.ch,
.content.activity-page.file-cloud-page .file-cloud-toolbar.ch {
    border: none !important;
    background: transparent !important;
    padding: 0 2px 10px !important;
    margin-top: -44px !important;
    margin-bottom: 6px;
}
.content.personal-data-page.file-cloud-page .file-cloud-toolbar .material-icons,
.content.activity-page.file-cloud-page .file-cloud-toolbar .material-icons {
    color: #334155;
}
.content.personal-data-page.file-cloud-page .file-cloud-crumb,
.content.activity-page.file-cloud-page .file-cloud-crumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 12px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #0f172a;
    max-width: 100%;
    flex-wrap: wrap;
}
.content.personal-data-page.file-cloud-page .file-cloud-crumb .material-icons,
.content.activity-page.file-cloud-page .file-cloud-crumb .material-icons {
    font-size: 1.15rem;
    color: #ea580c;
}

.content.personal-data-page.file-cloud-page .cloud-favicon,
.content.activity-page.file-cloud-page .cloud-favicon {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    object-fit: contain;
    display: block;
}
.content.personal-data-page.file-cloud-page .cloud-title-url,
.content.activity-page.file-cloud-page .cloud-title-url {
    word-break: break-all;
    overflow-wrap: anywhere;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
    color: #0f172a;
}
.content.personal-data-page.file-cloud-page .cloud-hist-title,
.content.activity-page.file-cloud-page .cloud-hist-title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
    word-break: break-word;
}
.content.personal-data-page.file-cloud-page .cloud-hist-url,
.content.activity-page.file-cloud-page .cloud-hist-url {
    margin-top: 4px;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.35;
    color: #64748b;
    word-break: break-all;
    overflow-wrap: anywhere;
}
.content.personal-data-page.file-cloud-page .file-cloud-history-head,
.content.activity-page.file-cloud-page .file-cloud-history-head {
    margin: 4px 0 12px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.content.personal-data-page.file-cloud-page .file-cloud-history-search-row,
.content.activity-page.file-cloud-page .file-cloud-history-search-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.content.personal-data-page.file-cloud-page .file-cloud-history-search-ico,
.content.activity-page.file-cloud-page .file-cloud-history-search-ico {
    font-size: 1.25rem;
    color: #64748b;
    flex-shrink: 0;
}
.content.personal-data-page.file-cloud-page .file-cloud-history-input,
.content.activity-page.file-cloud-page .file-cloud-history-input {
    flex: 1 1 160px;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.88rem;
    background: #f8fafc;
}
.content.personal-data-page.file-cloud-page .file-cloud-history-input:focus,
.content.activity-page.file-cloud-page .file-cloud-history-input:focus {
    outline: none;
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}
.content.personal-data-page.file-cloud-page .file-cloud-history-btn,
.content.activity-page.file-cloud-page .file-cloud-history-btn {
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}
.content.personal-data-page.file-cloud-page .file-cloud-history-btn:hover,
.content.activity-page.file-cloud-page .file-cloud-history-btn:hover {
    background: #1d4ed8;
}
.content.personal-data-page.file-cloud-page .file-cloud-history-meta,
.content.activity-page.file-cloud-page .file-cloud-history-meta {
    margin-top: 8px;
    font-size: 0.78rem;
    color: #64748b;
}
.content.personal-data-page.file-cloud-page .file-cloud-history-pager,
.content.activity-page.file-cloud-page .file-cloud-history-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}
.content.personal-data-page.file-cloud-page .file-cloud-history-page,
.content.activity-page.file-cloud-page .file-cloud-history-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}
.content.personal-data-page.file-cloud-page .file-cloud-history-page:hover,
.content.activity-page.file-cloud-page .file-cloud-history-page:hover {
    background: #dbeafe;
}
.content.personal-data-page.file-cloud-page .file-cloud-history-page.is-current,
.content.activity-page.file-cloud-page .file-cloud-history-page.is-current {
    color: #0f172a;
    background: #e2e8f0;
    border-color: #cbd5e1;
    cursor: default;
}
.content.personal-data-page.file-cloud-page .file-cloud-history-ellipsis,
.content.activity-page.file-cloud-page .file-cloud-history-ellipsis {
    color: #94a3b8;
    font-size: 0.78rem;
    padding: 0 2px;
}

.content.activity-page.file-cloud-page .activity-sheet-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}
.content.activity-page.file-cloud-page .activity-subhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 14px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.content.activity-page.file-cloud-page .activity-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1d4ed8;
    text-decoration: none;
}
.content.activity-page.file-cloud-page .activity-back .material-icons {
    font-size: 1.15rem;
}
.content.activity-page.file-cloud-page .activity-subhead-meta {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}
.content.activity-page.file-cloud-page .activity-inline-link {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(37, 99, 235, 0.35);
}
.content.activity-page.file-cloud-page .activity-inline-link:hover {
    color: #1e3a8a;
    border-bottom-color: #1e3a8a;
}
.content.activity-page.file-cloud-page .activity-muted {
    color: #64748b;
    font-size: 0.86rem;
}
.content.activity-page.file-cloud-page .activity-desc-multiline {
    white-space: normal;
    line-height: 1.45;
    word-break: break-word;
}
.content.activity-page.file-cloud-page .cloud-open--current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    padding: 6px 0 0;
    border-top: 1px dashed #e2e8f0;
    cursor: default;
    text-decoration: none;
    color: #0f766e;
}
.content.activity-page.file-cloud-page .cloud-open--current .chlink {
    font-weight: 600;
    font-size: 0.82rem;
    color: #0f766e;
}
.content.activity-page.file-cloud-page .cloud-open--current .material-icons {
    font-size: 1.1rem;
    color: #14b8a6;
}


.mmenu{    
	float: right;
    margin-left: -190px;
    position: absolute;
    padding: 15px;
    background: #9e9e9e;
	display:none;
}
.mmenu a{
	background: white;
	padding: 4px;
}
#fileedit {
	max-width: 1000px;
    width:85%;
    z-index: 2;
    background-color: #FFF;
    padding: 5px;
    border: 1px solid gray;
    border-radius: 5px;    
	display: block;
    position: fixed;
	margin: auto;
    left: 0px;
    right: 0px;
}
.logo{
	height: 40px;	
}
.submenu{
    position: fixed;
    border: 1px solid gray;
    border-radius: 5px;  
	max-width: 1000px;
    width:85%;
	background: #e8e8e8;
	padding: 8px;
	margin: auto;
    left: 0px;
    right: 0px;    
	overflow-y: auto;
    height: 80%;
	font-size: 1.43rem;
}
.submenu input{
	font-size: 1.43rem;
	height: 23px;
}
.submenu div{
	white-space: nowrap;
    overflow: hidden;
}
.overshow{
	overflow-y:auto;
}
.start {
    min-height: 180px;
    width: 100%;
    max-width: 500px;
    margin: 12px auto;
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 16px;
    box-sizing: border-box;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    word-break: break-word;
}

.start div {
    text-align: left;
}

.start .chtitle {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.6rem;
    margin-bottom: 8px;
    color: #202124;
}

.start .chdescription {
    font-size: 0.95rem;
    color: #5f6368;
    overflow: hidden;
    text-overflow: ellipsis;
}

.start a {
    display: block;
    text-align: center;
    font-weight: 500;
    padding: 6px 12px;
    color: #1a73e8;
    border-top: 1px solid #e0e0e0;
    text-decoration: none;
    margin-top: 16px;
    border-radius: 0 0 12px 12px;
    transition: background 0.2s;
}

.start a:hover {
    background: #f1f3f4;
}

.start .chlink {
    display: inline;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 600px) {
    .start {
        width: 48%;
        margin: 1%;
        float: left;
    }
}


.sig{
  width:45%;
  height:60px;
  border:none;
  font-family: 'Open Sans', sans-serif;
  text-transform:uppercase;
  color:#fff;
  -webkit-transition:.5s;
  transition:.5s;
  background: #ff5722;
}

.reg{
  background: #b4b4b4;
}
body {
      margin: 0px;
      font-family: sans-serif;
      background-color: #fff;
    }

    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
      border-bottom: 1px solid #ccc;
      position: relative;
      z-index: 2;
	background: aliceblue;
    }

    .navbar-title {
      font-weight: bold;
      font-size: 1rem;
    }

    .menu-toggle {
      font-size: 1rem;
      background-color: transparent;
      border: none;
      cursor: pointer;
      display: none; /* Скрыта по умолчанию — включается на мобилке */
    }

    .top-menu {
      display: flex;
      gap: 2px;
    }

    .top-menu a {
      text-decoration: none;
      color: #333;
      font-size: 0.9rem;
    }

    /* Мобильный вид */
    @media (max-width: 768px) {
      .top-menu {
        display: none;
      }

      .menu-toggle {
        display: block;
      }
    }

    /* Боковое меню */
    .side-menu {
      position: fixed;
      top: 0;
      left: -250px;
      width: 250px;
      height: 100%;
      background-color: #f8f9fa;
      padding: 20px 5px;
      box-shadow: 2px 0 5px rgba(0,0,0,0.2);
      transition: left 0.3s ease;
      z-index: 3;
    }

    .side-menu.show {
      left: 0;
    }

    .side-menu a {
      display: block;
      padding: 12px 0;
      color: #333;
      border-bottom: 1px solid #ddd;
    }

    .side-menu a:hover {
      background-color: #e0e0e0;
    }

    .close-btn {
      background: none;
      border: none;
      font-size: 1.2rem;
      float: right;
      cursor: pointer;
      margin-bottom: 20px;
    }

    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.5);
      display: none;
      z-index: 2;
    }

    .overlay.show {
      display: block;
    }

	.link-item {
  display: flex;
  align-items: center; 
  padding: 4px;
  font-size: 0.95rem;
  line-height: 1.1;
  min-height: 48px;
}
.link-item:hover {
  background-color: #dcdcdc;
  cursor: pointer;
}

.link-item .material-icons {
  font-size: 20px;
  flex-shrink: 0;
padding-right: 2px;
}

.container h2 {
  padding: 5px;
  color: #414141;
  text-align: center;
}

.error-message {
  text-align: center;
  color: red;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 15px;
}

#formauth {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#formauth input[type="email"],
#formauth input[type="password"] {
  padding: 12px 15px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
}

.button-group {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

#formauth input.sig {
  padding: 12px 15px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  flex: 1;
  transition: background-color 0.3s, box-shadow 0.3s;
}

/* Войти — оранжево-красный */
#formauth input.sig.auth {
  background: linear-gradient(to right, #ff6a00, #ff3300);
  color: white;
}

#formauth input.sig.auth:hover {
  background: linear-gradient(to right, #e65c00, #cc2900);
  box-shadow: 0 0 5px rgba(255, 102, 0, 0.5);
}

/* Регистрация — сероватый */
#formauth input.sig.reg {
  background: linear-gradient(to right, #aaaaaa, #888888);
  color: white;
}

#formauth input.sig.reg:hover {
  background: linear-gradient(to right, #999999, #777777);
  box-shadow: 0 0 5px rgba(136, 136, 136, 0.5);
}

.google-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #d1d5db;
  background-color: #f9fafb;
  color: #111827;
  padding: 10px 16px;
  width: 100%;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.google-button:hover {
  background-color: #f1f5f9;
  color: #1f2937;
}

.google-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

.google-button:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.google-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.error-blink {
  animation: border-blink 1s infinite;
}

@keyframes border-blink {
  30% { border-color: red; }
  100% { border-color: transparent; }
}
