*{box-sizing: border-box;
        /* border:  solid 1px;         */
}



@media (max-width: 577px)

{body {padding: 5%; /*{border: 1px red solid;}*/

.himnakan_ramka 
{width: 100%;
 padding: 3%;

.vernagir {
    margin-bottom: 3%;
    
    
}

.button-x{
    display: flex;

}
}











}}

 /* Hide arrows in WebKit browsers (Chrome, Safari) */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
button,
input[type="radio"]{cursor: pointer;}



body {

    
    -webkit-user-select: none;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 3%;  /* added padding for small screens */
    background-color: #F5F5F5;
    min-height: 100vh;
}





.himnakan_ramka {
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #F5F5F5;
    position: relative;
    border-radius: 12px;
    width: 100%;           /* fluid width for responsiveness */
    max-width: 100%;  
    box-sizing: border-box;
    margin: 0 auto;   /* retains your design's max width */
    height: auto;
    min-height: 660px;
    padding: 20px;        /* unified padding */
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.413);
    
}




.vernagir {
    
    
    margin-bottom: 3%;
    color: #09814A;
    font-size: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    
    
    
    
    
    
    
    
   
}
.blok1{
    
   
    padding-bottom: 10px;
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: space-between;
width: 100%;
max-width: 400px;

}

.gic2{
    
    border-radius: 5px;
    padding: 5px 10px 5px 10px ;
background-color: #F5F5F5;
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-width: 100%;

}

.gic1{
    border-radius: 5px;
    padding: 5px 10px 5px 10px ;
background-color: #EBEBEB;
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-width: 100%;
    
    }



.entavernagrer{
    
    font-weight: bold; color: #09814A;
    margin-bottom: 5px;
    
}

.grelutex,
.grelutex-phone,
.country-code
 {
    width: 100%;
    padding: 8px;
    border: 1px solid;
    border-radius: 5px;
    box-sizing: border-box;
    
}


.grelutex:hover, 
.grelutex-bardzr:hover, 
.grelutex-layn:hover, 
.grelutex-mikron:hover, 
.grelutex-thickness:hover,
.grelutex-phone:hover,
.country-code:hover,
.comment:hover {
    transition: ease-in-out 0.1s;
    transform: scale(1.01); 
    outline: none;
    box-shadow: 0px 0px 5px hsl(206, 10%, 70%);
    border-color: #39A0ED;
}


.grelutex:focus, 
.grelutex-bardzr:focus, 
.grelutex-layn:focus, 
.grelutex-mikron:focus, 
.grelutex-thickness:focus,
.grelutex-phone:focus,
.country-code:focus,
.comment:focus {
    transition: 0.1s ease-in-out;
    box-shadow: 0px 0px 5px hsl(206, 100%, 50%);
    border-color: #39A0ED;
    outline: none;
}



input[type="radio"]{margin: 0; padding: 0; margin-right: 5px;}

.radiodiv{
    
    
    
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 5px 0;
    box-sizing: border-box;
 
}

.blok-thickness{ 
    padding-bottom: 10px;
display: flex;
flex-direction: column;
align-items: flex-start;
width: 100%;
max-width: 100%;

}

.grelutex-thickness {
    display: flex;
    justify-content: left;
    width: 80%;
    padding: 8px;
    border: 1px solid;
    border-radius: 5px;
    box-sizing: border-box;

}


.grelutex-mikron{
    
    display: flex;
    justify-content: right;
    width: 20%;
    padding: 8px;
    border: 1px solid;
    border-radius: 5px;
    margin-left: 2%;
    box-sizing: border-box;

}

.janna{
    
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin: 0;
    width: 100%;
}

.blok-chaps{
    padding-bottom: 10px;
display: flex;
flex-direction: column;
align-items: flex-start;
width: 100%;
max-width: 100%;

}

.hasul{
    
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0;
}

.grelutex-layn {
    display: flex;
    justify-content: left;
    width: 45%;
    padding: 8px;
    border: 1px solid;
    border-radius: 5px;
    box-sizing: border-box;
border: 1px solid;
}

.X{
    font-weight: bold; color: #09814A;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90%;
    width: auto;
    
    
}

.grelutex-bardzr{
    
    display: flex;
    justify-content: right;
    width: 45%;
    padding: 8px;
    border: 1px solid;
    border-radius: 5px;
    margin-left: 0%;
    box-sizing: border-box;

}


.radiolabel{
    
    color: #09814A;
    font-weight: bold;
}
.radiolabel:hover{
    
    transition: 0.1s ease-in-out;
    scale: 105%;
}

.radiolabel:active{
    transition: 0s;
    color: #39A0ED;
    transform: scale(0.9);
}


.radiodiv-4{
    
    
    
    display: grid;
    grid-template-columns: auto auto auto auto;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 5px 0;
    box-sizing: border-box;
 
}


.phone-div {

display: flex;
width: 100%;
padding: 5px 0;
box-sizing: border-box;
flex-direction: row;
justify-content: space-evenly;

}

.country-code {
    margin-right: 2%;
    max-width: 20%;
}


.comment-div {
    width: 100%; 
    height: auto; 
    padding: 0;
    margin-top: 5%;
    border-radius: 5px;
    box-sizing: border-box;
    
    
    
}












.comment { 
    width: 100%; 
    max-width: 400px; 
    min-height: 100px;
    max-height: 118px;
    height: auto; 
    overflow-y: hidden;
    padding: 10px;
    margin-top: 0;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: none;
    outline: none;
    transition: border-color 0.3s ease-in-out;
}





.button-send:hover{ transform: scale(1.02);}




.button-send:focus-within{
    animation: colorwheel 3s ease 1;
    background: linear-gradient(
     45deg,
     #FF0000, #FF7300, #FFFB00, #48FF00,
     #00FFD5, #002BFF, #FF00C8, #FF0000
   );

    background-size: 600%;
   
   
    transform: scale(1);
    box-sizing: border-box;
    animation: colorwheel 2s linear infinite;
    transition: opacity 0.3s ease;
    

}



@keyframes colorwheel {
    
    0% {background-position: 0 0;}
    100% {background-position: 400% 0;}

}

.button-send:active{
transform: scale(1);
}
    














.button-x:hover{
    
    width: 500%;
    background-color: red;
}

.button-x::before{
    content: "O";
    opacity: 1;
}

.button-x:hover::before{
    
    opacity: 0;
}

.button-x:hover::after{
    transition-delay: 0.3s;
    content: "Չեղարկել";
}

.button-x:active{
    transition: 0.05s ease;
    transform: scale(0.95);}


/*-------------------------------------------------------------------------*/



    .button-x{
        cursor: pointer;
        
        justify-content: center;
        
        align-items: center;
        
        height: 35px;
        
        width: 35px;
        
        border: none;
        
        border-radius: 8px;
        
        background-color: rgb(230, 0, 0);
        
        color: #F5F5F5;
        
        font-weight: bold;
        
        font-size: large;
        
        transition: all 0.3s ease-in-out;
    }


    .button-send{
        font-size: large;
        
        font-weight: bold;
        
        display: flex;
        
        flex-direction: row;
        
        justify-content: center;
        
        align-items: center;
        
        height: 35px;
        
        width: 100%;
        
        border: none;
        
        border-radius: 8px;
        
        background-color: #09814A;
        
        color: #F5F5F5;
        
        font-weight: bold;
        
        margin-left: 2%;
        
        transition: all 0.3s ease;
    }



    .buttons-div{
        display: flex;

        justify-content: space-between;
    
        align-items: top;
    
        margin-top: 5%;
    
        height: 50px;
    
        width: 100%;
    
        box-sizing: border-box;
    
        padding: 0px 0px 5px 0px;
}





/*-------------------------------------------------------------------------*/






input:disabled {cursor: not-allowed;}








/* Highlight change animation */
.highlight-change {
    
    animation: highlight 0.3s ease-in-out 8;
    box-shadow: 0 0 0 #ffffff;
    border-color: #FF0000;
    outline: none;
    
    
    
    
  }
  
  @keyframes highlight {
  0% {
    box-shadow: 0px 0px 0px red;
    background-color: #ff9191;
  }
  50% {
    background-color: transparent;
  }
  60% {
    background-color: transparent;
  }
  100% {
    box-shadow: 0px 0px 20px red;
  }
}

  