﻿@media (min-width: 768px){
  .login-register-buttons{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 400px;

    z-index: 2;

    padding-block: 45px;

    background-color: white;
  }
  .login-button-r{
    background-color: white;
    color: black;

    font-size: 20px;

    padding-block: 7px;
    padding-inline: 30px;

    border-style: solid;
    border-width: 1px;
    border-radius: 100px;
  }
  .login-button-r:hover{
    background-color: #F8F9FA;
  }
  .login-button-l{
    background-color: #1D4BCF;
    color: white;

    font-size: 20px;

    padding-block: 7px;
    padding-inline: 30px;

    border-radius: 100px;
  }
  .login-button-l:hover{
    opacity: 0.8;;
  }

  .register-button-r{
    background-color: #1D4BCF;
    color: white;

    font-size: 20px;

    padding-block: 7px;
    padding-inline: 30px;

    border-radius: 100px;
  }
  .register-button-r:hover{
    opacity: 0.8;;
  }
  .register-button-l{
    background-color: white;
    color: black;

    font-size: 20px;

    padding-block: 7px;
    padding-inline: 30px;

    border-style: solid;
    border-width: 1px;
    border-radius: 100px;
  }
  .register-button-l:hover{
    background-color: #F8F9FA;
  }
  .register-customer-handyman-buttons{
    position: fixed;
    top: 133px;
    left: 0;
    right: 0;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 500px;

    z-index: 2;

    padding-top: 16px;
    padding-bottom: 15px;

    background-color: white;
  }
  .register-customer-handyman-button{
    padding-bottom: 13px;
    font-size: 18px;
    border: 0;
  }
  .register-customer-button-c{
    border-bottom-style: solid;
    border-bottom-color: #1D4BCF;
    border-bottom-width: 2px;
  }
  .register-handyman-button-h{
    border-bottom-style: solid;
    border-bottom-color: #1D4BCF;
    border-bottom-width: 2px;
  }



  .login-register-form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    
    padding-inline: 300px;
  }
  .register-form{
    margin-top: 375px;
  }
  .register-form-handyman-general{
    margin-top: 387px;
  }
  .register-form-handyman-description{
    margin-top: 363px;
  }
  .register-form-handyman-password{
    margin-top: 430px;
  }
  .login-form{
    margin-top: 390px;
  }
  .login-register-input, .login-register-input:active, .login-register-input:focus{
    width: 100%;

    
    padding-left: 15px;
    padding-block: 15px;

    border-style: solid;
    border-width: 1px;
    border-radius: 13px;

    font-size: 19px;
  }
  .login-register-input::placeholder{
    color: #333;
  }

  .register-handyman-attach-photo-button{
    width: 101.3%;

    display: flex;
    justify-content: space-between;
    align-items: center;
    
    padding-left: 15px;
    padding-right: 17px;
    padding-block: 13px;

    border-style: solid;
    border-width: 1px;
    border-radius: 13px;

    font-size: 19px;
    color: #333;
  }
  .register-handyman-attach-photo-button:hover{
    background-color: #F8F9FA;
  }
  .register-handyman-attach-icon{
    height: 26px;
    width: 26px;
  }
  .register-handyman-description-textarea, .register-handyman-description-textarea:active, .register-handyman-description-textarea:focus{
    width: 100%;
    
    padding-left: 15px;
    padding-top: 15px;

    border-style: solid;
    border-width: 1px;
    border-radius: 13px;

    font-size: 19px;
  }
  .register-handyman-description-textarea::placeholder{
    color: #333;
  }
  .or-c{
    width: 101.3%;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;

    margin-block: 50px;
  }
  .or-c-left, .or-c-right{
    flex: 1;

    border-top-width: 2px;
    border-top-style: solid;
    border-color: #1D4BCF;
  }
  .or-c-middle{
    font-size: 20px;
  }
  .register-handyman-build-description-button{
    width: 101.3%;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    
    padding-block: 13px;

    margin-bottom: 70px;

    border-style: solid;
    border-width: 1px;
    border-radius: 13px;

    font-size: 19px;
    color: #333;
  }
  .register-handyman-build-description-button:hover{
    background-color: #F8F9FA;
  }
  .register-handyman-gemini-icon{
    height: 25px;
  }

  .handyman-AI-description-survey-heading{
    margin-top: 270px;
    margin-bottom: 100px;

    font-size: 40px;
    font-weight: 600;
  }
  .login-register-label{
    position: relative;
    z-index: -1;

    margin-top: 50px;
    margin-bottom: 15px;

    font-size: 23px;
  }
  .label-optional-text{
    position: absolute;
    top: 8px;

    font-size: 14px;
    color: #888;
  }
  
  .handyman-AI-description-survey-button{
    position: relative;

    width: 98.8%;

    display: flex;
    justify-content: space-between;
    align-items: center;
    
    padding-left: 15px;
    padding-right: 17px;
    padding-block: 13px;

    border-style: solid;
    border-width: 1px;
    border-radius: 13px;

    font-size: 19px;
    color: #333;
  }
  .handyman-AI-description-survey-button:hover:not(:has(.handyman-AI-description-survey-selector-options:hover)){
    cursor: pointer;
    background-color: #F8F9FA;
  }
  .handyman-AI-description-survey-selector-options{
    position: absolute;
    top: 52px;
    left: -1px;
    right: 0;

    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    z-index: 1;
    background-color: white;
    
    border-style: solid;
    border-width: 1px;
    border-color: black;
  }
  .selector-option{
    width: 100%;

    padding-block: 9px;

    font-size: 19px;
  }
  .selector-option:hover{
    background-color: #F8F9FA;
  }
  .selector-option-q1-2, .selector-option-q5-2{
    border-top-width: 1px;
    border-top-style: solid;
  }
  .handyman-AI-description-last-survey-input{
    margin-bottom: 90px;
  }
  .handyman-AI-description-survey-build-button{
    width: 101.3%;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 13px;
    
    padding-block: 13px;

    margin-bottom: 30px;

    border-style: solid;
    border-width: 1px;
    border-radius: 13px;

    font-size: 23px;
    background-color: #1D4BCF;
    color: white;
  }
  .handyman-AI-description-survey-build-button:hover{
    opacity: 0.8;
  }

  .login-register-submit-button{
    width: 101.3%;

    margin-top: 35px;
    margin-bottom: 30px;

    padding-block: 11px;

    border-radius: 13px;

    background-color: #1D4BCF;
    color: white;

    font-size: 18px;
  }
  .login-register-submit-button:hover{
    opacity: 0.8;
  }
}






.is-hidden {
    display:none !important;
}


/* Preview box */

.register-handyman-photo-preview {

    width:101.2%;

    height:150px;

    margin-top:10px;


    border:1px dashed #333;

    border-radius:8px;


    display:flex;

    justify-content:center;

    align-items:center;


    overflow:hidden;

    background:white;

}


/* Preview image */

.register-handyman-photo-preview img {

    width:120px;

      height:120px;


    object-fit:cover;

    border-radius:10px;

}



/* Crop overlay */

.crop-overlay {

    position:fixed;

    inset:0;


    width:100%;

    height:100%;


    background:rgba(0,0,0,0.55);


    display:flex;

    justify-content:center;

    align-items:center;


    z-index:9999;

}



/* Crop modal */

.crop-modal {

    width:min(90vw,420px);


    background:white;


    padding:20px;


    border-radius:14px;


    display:flex;

    flex-direction:column;


    align-items:center;


    gap:20px;

}



/* Crop image area */

.crop-wrapper {

    width:min(75vw,320px);

    height:min(75vw,320px);


    overflow:hidden;

}



.crop-wrapper img {

    max-width:100%;

    display:block;

}



/* Crop button */

.crop-confirm-button {

    width:100%;

    max-width:320px;


    padding:8px;


    background:#1D4BCF;


    color:white;


    border:0;


    border-radius:8px;


    font-size:16px;


    cursor:pointer;

}



.crop-confirm-button:hover {

    opacity:0.9;

}



/* Desktop */

@media(min-width:768px) {


    .crop-modal {

        width:420px;

    }


    .crop-wrapper {

        width:320px;

        height:320px;

    }

}



/* Mobile */

@media(max-width:767px) {


    .register-handyman-photo-preview {

        height:130px;

    }


    .register-handyman-photo-preview img {

        width:100px;

        height:100px;

    }

    .handyman-profile-picture-preview-item {

        width:100px;

        height:100px;

    }


    .crop-modal {

        width:90vw;

        padding:15px;

    }


    .crop-wrapper {

        width:75vw;

        height:75vw;

    }


    .crop-confirm-button {

        font-size:15px;

    }

}

.handyman-profile-picture-preview-item {
    position: relative;
    width: 120px;
    height: 120px;
}

.handyman-profile-picture-remove-button {
    position: absolute;
    top: -9px;
    right: -9px;
    z-index: 10;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 20px;
    line-height: 20px;
}

@media (max-width: 767px) {
    .handyman-profile-picture-preview-item {
        width: 100px;
        height: 100px;
    }
}
