@import url(variables.css);

*,
*::before,
*::after {
  box-sizing: border-box;
}

html{
	width: 100%;
	height: 100%;
}

body {
  margin: 0 auto;
  width: 100%;
  height: 100%;
    font-family: var(--fnt-Montserrat), serif;
    font-size: 14px;
    font-weight: 400;
}

.page{
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
}


h1,
h2,
h3,
h4,
h5,
h6
{
  margin: 0;
}
/*
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
*/
picture {
  margin: 0;
  padding: 0;
}

button,
a {
  line-height: inherit;
  font-family: inherit;
  font-size: inherit;
  color: currentColor;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;-o-transition: all 0.3s ease;-moz-transition: all 0.3s ease;
}

i{font-style:normal;}

.dfs{
    border: 1px solid var(--c-fg);
    background: #fff;
    color: var(--c-fg);
    padding: 7px;
    font-size: 14px;
    border-radius: 5px;
}
.dfs_todate{
    border: 1px solid var(--c-fg);
    background: #fff;
    color: var(--c-fg);
    padding: 8px;
    font-size: 14px;
    border-radius: 5px;
}

.input-title{
    font-size: 20px;
}

.form-block-col{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-block-row{
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.block-page-menu {
    margin: 20px 0;
}

.block-content{
    padding: 30px;
    display: flex;
    flex-direction: column;
    background: rgba(253,253,253,0.7);
    border-radius:10px;
    gap: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    position: relative;
}

.block-content-{
    padding: 10px;
    display: flex;
    flex-direction: column;
    background: rgba(253,253,253,0.7);
    border-radius: 10px;
    gap: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    position: relative;
}

.block-subcontent{
    padding: 30px;
    display: flex;
    flex-direction: column;
    background: rgba(253,253,253,0.7);
    border-radius:0 10px 10px 10px;
    gap: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    position: relative;
}

.block-form{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap:20px;
    padding: 20px;
    background: rgba(255,255,255,0.5);
}

.form-wrapper{
    display: flex;
    gap: 10px;
    margin: 30px 0;
}

.form-wrapper-col{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 30px 0;
}


.block-title{
    font-size: 22px;
    border-bottom: 1px dotted var(--c-b);
    color: var(--c-b);
    padding-bottom: 15px;
}
.block-title-mini{
    font-size: 16px;
     color: var(--c-b);
    padding-bottom: 5px;
    padding-top: 10px;
}

.block-content-field{
    display: flex;
    gap: 20px;
}

.block-manage-buttons{
    display: flex;
    gap:10px;
}

.form-block-row{
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.form-block-row-{
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}

.flex-1 {
    flex: 1;
}

.page-button-sub{
    border:2px solid rgba(171, 186, 173, 1);
    color: #1f2421;
    border-radius:5px;
    background: linear-gradient(180deg, rgba(207, 215, 208, 0.33), rgba(207, 215, 208, 0.75));
    padding: 5px 10px;
    cursor: pointer;
}
.page-button-sub:hover {
    background:linear-gradient(180deg,rgba(132,202,104, 0.2), rgba(132,202,104, 0.75));
    box-shadow: 0 0 5px rgba(132,202,104, 1);
    border:2px solid rgba(171, 186, 173, 0.5);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}

.m-0{margin:0;}
.mt-5{margin-top:5px;}
.mt-10{margin-top:10px;}
.mt-15{margin-top:15px;}
.mt-20{margin-top:20px;}

.flex-valign-center{ align-items: center; }
.flex-align-right{ justify-content: flex-end; }
.flex-align-sides{ display: flex; justify-content: space-between;}

/* UPLOAD IMAGES */

/* Базовые стили (используют ваши переменные) */
.image-upload {
    width: 100%;
}

.image-none-label {
    border: 2px dashed rgba(0,0,0, 0.2);
    background: #fff;
    color: rgba(0,138,135, 0.5);
    padding: 30px 7px;
    font-size: 14px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.image-upload-label {
    border: 2px dashed rgba(0,138,135, 0.5);
    background: #fff;
    color: rgba(0,138,135, 0.5);
    padding: 30px 7px;
    font-size: 14px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.image-upload-label:hover {
    background: #f5f5f5;
    border-color: rgba(0,138,135, 1);
    color: rgba(0,138,135, 1);
}

.upload-icon {
    color: var(--c-fg);
    opacity: 0.6;
}

.image-upload-label:hover .upload-icon {
    opacity: 1;
    color: rgba(0,138,135, 1);
}

.upload-text {
    font-size: 14px;
    color: rgba(0,138,135, 1);
}

.upload-hint {
    font-size: 12px;
    color: #999;
}

.show-img-item{
    width: 100%;
    border-radius: 4px;
    display: block;
}

/* Превью изображения */
.image-preview-list {
    position: relative;
    margin-top: 15px;
    border-radius: 5px;
    display: inline-block;
    width: auto;
}

.preview-img-list {
    width: 100px;
    border-radius: 4px;
    display: block;
    box-shadow: 0 0 10px rgba(0,138,135, 0.33);
}

.preview-img-list-empty {
    width: 100px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    border: 2px dashed #ccc;
    padding: 10px;
}

.image-preview {
    position: relative;
    margin-top: 15px;
    border: 1px solid var(--c-fg);
    border-radius: 5px;
    padding: 10px;
    background: #f9f9f9;
    display: inline-block;
    width: auto;
}

.preview-img {
    width: 100%;
    border-radius: 4px;
    display: block;
}
.remove-image-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background: rgba(224,70,79, 1);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.remove-image-btn:hover {
    background: rgba(224,70,79, 1);
    transform: scale(1.1);
}

/* Состояние drag & drop */
.image-upload-label.drag-over {
    background: #e8f5e9;
    border-color: rgba(0,138,135, 1);
    border-style: dashed;
}

/* END OF UPLOAD IMAGES*/

.blue-btn{
    border-radius: 10px;
    padding: 10px 20px;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    background:linear-gradient(180deg,rgba(26,188,255,0.9), rgba(26,188,255,1));
    border: 1px solid rgba(26,188,255,1);
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 0 10px rgba(101,98,93,0.25);
    -webkit-transition: all 0.3s ease;-o-transition: all 0.3s ease;-moz-transition: all 0.3s ease;
}
.blue-btn:hover {
    transform: scale(1.01);
    box-shadow: 0 0 5px rgba(26,188,255, 1);
    background:linear-gradient(180deg,rgba(26,188,255, 0.66), rgba(26,188,255, 0.9));
    text-shadow: 1px 1px 2px rgba(0,0,0,0.33);
    -webkit-transition: all 0.3s ease;-o-transition: all 0.3s ease;-moz-transition: all 0.3s ease;
}

.green-button{
    border-radius: 10px;
    padding: 10px 20px;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    background:linear-gradient(180deg,rgba(0,138,135, 0.25), rgba(0,138,135, 0.75));
    border: 1px solid rgba(0,138,135, 1);
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 0 10px rgba(101,98,93,0.25);
}
.green-button:hover{
    transform: scale(1.01);
    box-shadow: 0 0 5px rgba(0,138,135, 1);
    background:linear-gradient(180deg,rgba(0,138,135, 0.33), rgba(0,138,135, 0.9));
    text-shadow: 1px 1px 2px rgba(0,0,0,0.33);
}

.green-button-mini{
    border-radius: 5px;
    padding: 7px 10px;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    background:linear-gradient(180deg,rgba(0,138,135, 0.25), rgba(0,138,135, 0.75));
    border: 1px solid rgba(0,138,135, 1);
    color: #fff;
    cursor: pointer;
    font-size: 10px;
    box-shadow: 0 0 10px rgba(0,138,135,0.25);
}
.green-button-mini:hover{
    transform: scale(1.01);
    box-shadow: 0 0 5px rgba(0,138,135, 1);
    background:linear-gradient(180deg,rgba(0,138,135, 0.33), rgba(0,138,135, 0.9));
    text-shadow: 1px 1px 2px rgba(0,0,0,0.33);
}

.green-button-midi{
    border-radius: 5px;
    padding: 7px 10px;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    background:linear-gradient(180deg,rgba(0,138,135, 0.5), rgba(0,138,135, 0.85));
    border: 1px solid rgba(0,138,135, 1);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 0 10px rgba(0,138,135,0.25);
}
.green-button-midi:hover{
    transform: scale(1.01);
    box-shadow: 0 0 5px rgba(0,138,135, 1);
    background:linear-gradient(180deg,rgba(0,138,135, 0.33), rgba(0,138,135, 0.9));
    text-shadow: 1px 1px 2px rgba(0,0,0,0.33);
}

.green-button-ico{
    border-radius: 5px;
    padding: 3px 5px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    background:linear-gradient(180deg,rgba(0,138,135, 0.25), rgba(0,138,135, 0.75));
    border: 1px solid rgba(0,138,135, 1);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 0 10px rgba(0,138,135,0.25);
}
.green-button-ico:hover{
    transform: scale(1.01);
    box-shadow: 0 0 5px rgba(0,138,135, 1);
    background:linear-gradient(180deg,rgba(0,138,135, 0.33), rgba(0,138,135, 0.9));
    text-shadow: 1px 1px 2px rgba(0,0,0,0.33);
}

.red-button{
    border-radius: 10px;
    padding: 10px 20px;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    background:linear-gradient(180deg,rgba(224,70,79, 0.25), rgba(224,70,79, 0.75));
    border: 1px solid rgba(224,70,79, 1);
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 0 10px rgba(101,98,93,0.25);
}
.red-button:hover{
    transform: scale(1.01);
    box-shadow: 0 0 5px rgba(224,70,79, 1);
    background:linear-gradient(180deg,rgba(1224,70,79, 0.33), rgba(224,70,79, 0.9));
    text-shadow: 1px 1px 2px rgba(0,0,0,0.33);
    color: #fff;
}

.red-button-mini{
    border-radius: 5px;
    padding: 7px 10px;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    background:linear-gradient(180deg,rgba(224,70,79, 0.25), rgba(224,70,79, 0.75));
    border: 1px solid rgba(224,70,79, 1);
    color: #fff;
    cursor: pointer;
    font-size: 10px;
    box-shadow: 0 0 10px rgba(224,70,79,0.25);
}
.red-button-mini:hover{
    transform: scale(1.01);
    box-shadow: 0 0 5px rgba(224,70,79, 1);
    background:linear-gradient(180deg,rgba(1224,70,79, 0.33), rgba(224,70,79, 0.9));
    text-shadow: 1px 1px 2px rgba(0,0,0,0.33);
}

.red-button-midi{
    border-radius: 5px;
    padding: 7px 10px;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    background:linear-gradient(180deg,rgba(224,70,79, 0.5), rgba(224,70,79, 0.85));
    border: 1px solid rgba(224,70,79, 1);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 0 10px rgba(224,70,79,0.25);
}
.red-button-midi:hover{
    transform: scale(1.01);
    box-shadow: 0 0 5px rgba(224,70,79, 1);
    background:linear-gradient(180deg,rgba(1224,70,79, 0.33), rgba(224,70,79, 0.9));
    text-shadow: 1px 1px 2px rgba(0,0,0,0.33);
}

.orange-button{
    border-radius: 10px;
    padding: 10px 20px;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    background:linear-gradient(180deg,rgba(218,118,0, 0.25), rgba(218,118,0, 0.75));
    border: 1px solid rgba(218,118,0, 1);
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 0 10px rgba(101,98,93,0.25);
}
.orange-button:hover{
    transform: scale(1.01);
    box-shadow: 0 0 5px rgba(218,118,0, 1);
    background:linear-gradient(180deg,rgba(218,118,0, 0.33), rgba(218,118,0, 0.9));
    text-shadow: 1px 1px 2px rgba(0,0,0,0.33);
}

.orange-button-mini{
    border-radius: 5px;
    padding: 7px 10px;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    background:linear-gradient(180deg,rgba(218,118,0, 0.25), rgba(218,118,0, 0.75));
    border: 1px solid rgba(218,118,0, 1);
    color: #333;
    cursor: pointer;
    font-size: 10px;
    box-shadow: 0 0 10px rgba(218,118,0,0.25);
}
.orange-button-mini:hover{
    transform: scale(1.01);
    box-shadow: 0 0 5px rgba(218,118,0, 1);
    background:linear-gradient(180deg,rgba(218,118,0, 0.33), rgba(218,118,0, 0.9));
    text-shadow: 1px 1px 2px rgba(0,0,0,0.33);
}

.orange-button-midi{
    border-radius: 5px;
    padding: 7px 10px;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    background:linear-gradient(180deg,rgba(218,118,0, 0.75), rgba(218,118,0, 0.95));
    border: 1px solid rgba(218,118,0, 1);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 0 10px rgba(218,118,0,0.25);
}
.orange-button-midi:hover{
    transform: scale(1.01);
    box-shadow: 0 0 5px rgba(218,118,0, 1);
    background:linear-gradient(180deg,rgba(218,118,0, 0.33), rgba(218,118,0, 0.9));
    text-shadow: 1px 1px 2px rgba(0,0,0,0.33);
}

.round-ico{
    border-radius: 50%;
    height:20px;
    width:20px;
}

.block-hidden{
    display: none;
}


.mt-0{ margin-top: 0;}
.mt-10{ margin-top: 10px;}
.mt-20{ margin-top: 20px;}
.mt-30{ margin-top: 30px;}

.ml-50{
    margin-left: 50px;
}

.mb-0{ margin-bottom: 0;}
.mb-10{ margin-bottom: 10px;}
.mb-20{ margin-bottom: 20px;}
.mb-30{ margin-bottom: 30px;}

.fs-10{    font-size: 10px; }
.fs-12{    font-size: 12px; }
.fs-14{    font-size: 14px; }
.fs-16{    font-size: 16px; }
.fs-18{    font-size: 18px; }
.fs-20{    font-size: 20px; }
.fs-24{    font-size: 24px; }
.fs-26{    font-size: 26px; }
.fs-28{    font-size: 28px; }

.text-color-fff{    color: #fff; }
.text-color-333{    color: #333; }
.text-color-666{    color: #666; }
.text-color-999{    color: #999; }

.gap-10{    gap: 10px;}
.gap-20{    gap: 20px;}
.gap-30{    gap: 30px;}

.w-100per{
    width: 100%;
}
.mw-100{    max-width: 100px; }
.mw-150{    max-width: 150px; }
.mw-200{    max-width: 200px; }

.flex-col-left{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap:5px;
}

.vertical-middle{
    justify-content: flex-start;
    align-items: center;
}
.vertical-top{
    justify-content: flex-start;
    align-items: flex-start;
}
