/* MOBILE MENU */
                
.bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  z-index: 999;
  padding: 0 16px;
  background: #fff;
  transition: all 0.3s ease;
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #555;
  text-decoration: none;
  flex: 1;
  transition: color 0.2s ease;
  position: relative;
}

.tab-item:hover,
.tab-item:active {
  color: #007aff;
}

.tab-item.active {
  color: #007aff;
}

/* ИКОНКИ */
.tab-item svg {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
}

/* ПОДМЕНЮ ДЛЯ "МЕДИА" */
.media-submenu {
  position: absolute;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  display: none;
  flex-direction: column;
  min-width: 140px;
  z-index: 1000;
  left: 50%;
  transform: translateX(-50%);
}

.media-submenu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  text-align: left;
  color: #333;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
  border-top: 1px solid #eee;
  background: white;
}

.media-submenu a:hover {
  background: #f2f2f2;
}

/* СКРЫТАЯ по умолчанию, ПОТОМ ОТКРЫВАЕТСЯ */
.media-submenu.open {
  display: flex;
}

/* ======= МЕДИА-ЗАПРОСЫ ======= */

/* ==== МОБИЛЬНЫЕ / ПЛАНШЕТЫ ==== */
@media (max-width: 1024px) {
  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    border-top: 1px solid #ddd;
    padding-bottom: env(safe-area-inset-bottom); /* для iPhone */
    border-radius: 0;
    width: 100%;
    max-width: 95%;
  }

  .media-submenu {
    bottom: 70px; /* ВСПЛЫВАЕТ ВВЕРХ */
    width: 80%;
    top: auto;
    border:1px solid gray;
  }
}

/* ==== ДЕСКТОПЫ ==== */
@media (min-width: 1025px) {
  .bottom-nav {
    position: static; /* НЕ фиксированное */
    max-width: 900px; /* ОГРАНИЧЕННАЯ ширина */
    margin: 10px auto;
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 12px 20px;
  }

  .media-submenu {
    top: 170px;  /* ВСПЛЫВАЕТ ВНИЗ */
    width:300px;
    bottom: auto;
  }
}
.newmsgbadge {
  position: absolute;
  top: 4px;
  right: 9px;
  background: #ff3b30; /* iOS красный */
  color: white;
  border-radius: 50%;
  font-size: 10px;
  font-weight: bold;
  pointer-events: none; /* чтобы не мешать клику */
  user-select: none;
  min-width: 18px;
  text-align: center;
  line-height: 14px;
}

.profile-avatar {
  width: 24px;       
  height: 24px;
  border-radius: 50%;
  object-fit: cover; 
  margin-bottom: 4px;
  display: block;    
}



input.inp {
    width: 90%;
    padding: 5px;
    height: 27px;
    margin: 3px;
}
input.err {
    border:1px darkred solid;
}

form{
    margin: 10px 0;
}

/* unvisited link */
a:link {
    color: #666;

}

/* visited link */
a:visited {
    color: #666;

}

/* mouse over link */
a:hover {
    color: #000;
}

/* selected link */
a:active {
    color: #666;
}
.btn {
    /*font-size: 12px;
    color: rgb(255, 255, 255);
    padding-bottom: 10px;
    letter-spacing: 0.1em;
    padding-right: 7px;
    margin-top: 10px;
    padding-left: 7px;
    padding-top: 10px;
    margin-bottom: 10px;
    font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
    background-color: rgb(61, 161, 46);
    border: 0;
    cursor: pointer;
    border-radius: 0;
    -webkit-appearance: unset;
    */

    display: inline-block;
    padding: 8px 16px;
    color: white;
    text-decoration: none;
    border: 0;
    border-radius: 10px;
    font-size: 15px;
    margin-bottom: 0;

    font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #3DA12E; /* чуть ярче зелёный */
}
.btnapply {
    font-size: 14px;
    color: #ffffff;
    padding: 14px 16px;
    letter-spacing: 0.03em;
    margin: 10px auto;
    font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #3DA12E; /* чуть ярче зелёный */
    border: none;
    cursor: pointer;
    border-radius: 8px;
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    max-width: 400px; /* Ограничиваем ширину на больших экранах */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, transform 0.1s ease;
}
.btnapply:hover {
    background-color: #369027;
}

.btnapply:active {
    transform: scale(0.98);
}

.btndisabled {
    font-size: 12px;
    color: rgb(255, 255, 255);
    padding-bottom: 10px;
    letter-spacing: 0.1em;
    padding-right: 7px;
    margin-top: 10px;
    padding-left: 7px;
    padding-top: 10px;
    margin-bottom: 10px;
    font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
    background-color: #CECECE;
    border: 0;
}
.menubtn {
    font-size: 12px;
    color: black;
    padding-bottom: 10px;
    letter-spacing: 0.1em;
    padding-right: 7px;
    margin-top: 10px;
    padding-left: 7px;
    padding-top: 10px;
    margin-bottom: 10px;
    font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
    background-color: #666666;
    border: 0;
    cursor: pointer;
}

.switchbtn {
    font-size: 12px;
	letter-spacing: 0.1em;
    padding-bottom: 10px;
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 10px;
	margin-bottom: 5px;
    font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
    border: 0;
	width:150px;
	font-weight:500;
	cursor: pointer;
	color:#333;
}

a.reply{
	font-size: 10px;
    padding-bottom: 10px;
    letter-spacing: 0.1em;
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 10px;
	margin-bottom: 5px;
    font-family: Arial;
	 cursor: pointer;
	 width:200px;
	
}

a.reply0{
background-color:rgb(61, 161, 46); color:white;  width:200px;
}


a.btn:link {
    color: #fff;
}
a.btn:visited {
    color: #fff;
}
a.btn:hover {
    color: #000;
}

a.btnm:link {
    color: #fff;
}
a.btnm:visited {
    color: #fff;
}
a.btnm:hover {
    color: #000;
}

.loggedtext {
    font-family: SF Pro Text,SF Pro Icons,Helvetica Neue,Helvetica,Arial,sans-serif;
    font-size: 14px;
    color: rgb(76, 76, 76);
    max-width: 300px;
    margin-top: 5px;
    margin-bottom: 10px;
    line-height: 1.3em;

}
h1,h2,h3{
 line-height: 1em;
}
.choosetusa{
    padding-bottom: 15px;
    border-bottom: 15px solid aliceblue;
	margin-bottom: 10px;

}
.profile{
    font-size: 14px;
    text-align: left;
}

.overimage {
    position    : relative;
    width       : 100%; /* for IE 6 */
}

h2.overimage {
    position    : absolute;
    top     : 180px;
    left        : 5px;
    width       : 100%;
    color: white;
    text-shadow: 1px 1px gray;
}

.prinput{
    display: block;
    border-radius: 0;
    color: #474747;
    font-size: 14px;
    height: 25px;
    padding: 0 10px;
    width: 100%;
}
.subinput{
    margin-bottom: 15px;
    border-radius: 0;
    color: #474747;
    font-size: 16px;
    height: 35px;
    padding:0; border:0; width:250px; background-color: #E6e6e6; text-align: center; color:black;
}
.subbutton{
    border-width: 10px;
    font-size: 15px;
    color: #ffffff;
    letter-spacing: 0.1em;
    border-radius: 0px;
    border:0 ;
    font-family: Arial;
    background-color: rgb(0, 0, 0);
}
textarea.prinput{
    font-size: 14px;
    border: 1px solid #e8e8e8;
    height: 65px;
    width: 100%;
}
.prinputradio{
    color: #474747;
    border-radius: 0;
    font-size: 14px;
}

.usermessages{border:1px solid gray;}
.modelpic{max-height:180px; max-width:180px;}
.modelpic_main{width:180px;}

@media (max-width:960px) {
	.switchbuttons{text-align:left; display:block;}
	.switchbtn{width:130px; letter-spacing: 0em;}
	.usermessages{max-width:92%;padding:3px;}
	.modelpic{ max-height:120px; max-width:110px}
	.modelpic_main{width:110px;}
    .imgtusa {
        max-width: 95%;
        border-radius: 10px;
    }
    .tusacomment{
        width: 92%;
    }
    .tusadesc{
        width:92%
    }
    .col-md-6{width:94%; float: none}
    .media-right{width: 95%; float: none; display: inline;}
    .grow-for-content{padding:0 10px}
	h1.legend{font-size:19px};
}
@media (max-width:450px) {
    .hide {display: none}

	.switchbuttons{width:250px;}
	.time_apply{display:none}
	.switchbtn{width:120px; padding:5px;}
	.usermessages{width:90%;padding:1px}
    .alert{margin-right:30px}

}

@media (min-width:960px) {
	.switchbuttons{float:right; width:300px; background-color:1blue; text-align:right}
	.usermessages{max-width:90%}
    .imgtusa {
        float: left;
        min-width: 40%;
        max-height: 230px;
        max-width: 40%;
        padding-right:15px;
        border-radius: 10px;
    }
    .tusacomment{
        width: 50%;
    }
    .col-md-6{width:49%;  float: left;}
    .col-md-6-left{margin-right:15px;}
    .media-right{float: right; padding-left: 10px;}
    .miniavatar{background-position: right;
        background-repeat: no-repeat; background-size: contain; background-position-x: 100%; }
}

.well {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}
.legend {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
    font-size: 21px;
    line-height: inherit;
    color: #333333;
    border: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
}
.col-md-6{
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding: 0px;
    display: block;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}
.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}
input[type=radio] {
    margin: 0;
    margin-top: 1px\9;
    line-height: normal;
}

/*        ---------     MEDIA      ---------          */

.media {
    margin-top: 15px;
}
.media-body {
    width: 75%;
    float:left;
}
.media-heading {
    margin-top: 0;
    margin-bottom: 5px;
}
.h4, h4 {
    font-size: 18px;
}
.media-right {
    display: table-cell;
    vertical-align: top;
}
.media-right, .media>.pull-right {

    padding-top:10px;
    padding-right: 6px;

}
.media-object {
    display: block;
}
img {
    vertical-align: middle;
}
img {
    border: 0;
}

.gray{
color: gray;
}

.grecaptcha-badge {
    z-index: 100;
}

.customer_pic{float:left; width:60px; padding-right:10px; margin-top:5px; object-fit: cover}
.customer_img {width:60px; height: 60px; border-radius: 15%; object-fit: cover}
.customer_name{float:left; width: 280px; padding-top:15px}
.customer_support{width: 100%; height: 50px; padding:5px}
.customer_badge{width: fit-content; height:18px; padding-top:2px; font-weight: bold; font-size:11px; background-color:black; color: white; border-radius:20px;
    padding: 0px 5%;
    text-align: center;}

.nophoto{
    width:60px;
    height:60px;
    background-color: #b3b3b3;
    border-radius: 15%;
    display: inline-block;
    }


.switch-holder {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.switch-label {
    width: 170px;
}

.switch-toggle {
    height: 38px;
}

.switch-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    z-index: -2;
}

.switch-toggle input[type="checkbox"] + label {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 38px;
    border-radius: 20px;
    margin: 0;
    cursor: pointer;
    box-shadow: inset -8px -8px 15px rgba(255,255,255,.6),
                inset 10px 10px 10px rgba(0,0,0, .25);
    
}

.switch-toggle input[type="checkbox"] + label::before {
    position: absolute;
    content: 'НЕТ';
    font-size: 13px;
    text-align: center;
    line-height: 25px;
    top: 8px;
    left: 8px;
    width: 45px;
    height: 25px;
    border-radius: 20px;
    background-color: #d1dad3;
    box-shadow: -3px -3px 5px rgba(255,255,255,.5),
                3px 3px 5px rgba(0,0,0, .25);
    transition: .3s ease-in-out;
}

.switch-toggle input[type="checkbox"]:checked + label::before {
    left: 50%;
    content: 'ДА';
    color: #fff;
    background-color: #00b33c;
    box-shadow: -3px -3px 5px rgba(255,255,255,.5),
                3px 3px 5px #00b33c;
}


.badge-info {
    color: #fff;
    background-color: #17a2b8;
}
.badge-primary{
    width:30px;
    background-color: #0014ff;
}
.badge {
    color: #fff;
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.hint {
  padding: 15px;
  border: 1px solid #666;
  background: #fff;
  display: none;
}

.btn.gray {
        background-color: #666666;
    }


/* 2025 кнопка и описание тусовки в личном кабинете */
@media screen and (max-width: 768px) {
    .mobile-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-end; /* выравнивание по нижнему краю */
        padding: 0 10px;
        gap: 10px;
        margin-right:10px;
    }

    .left-block {
        flex: 1; /* занимает всё доступное место */
    }

    .right-block .btn {
        white-space: nowrap; /* не переносить кнопку */
    }

    .btn2 {
        display: inline-block;
        padding: 8px 16px;
        color: white;
        text-decoration: none;
        border-radius: 10px;
        font-size: 15px;
        margin-bottom: 0;
    }

}


.appliedstatus{
    display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fcfcfc;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 500;
  width: fit-content;
  border:1px solid gray;
  /*margin: 0 auto;*/
}