@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    height: 100vh;
    margin-bottom: 100px;
}

.container{
    margin-top: 50px;
}

.createacc-loglinkcon{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.caa{
    flex-grow: 0;
    font-family: 'Poppins';
    font-size: 32px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #333;
}


.inputs{
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 100px;
    padding: 20px;
}

.ahac{
  flex-grow: 0;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  padding: 2px;
}

.loginlink{
    color: #333;
}

.inputcon{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.label{
    font-family: 'Poppins';
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #666;
}

.inputbox{
    width: 715px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: stretch;
    flex-grow: 0;
    border-radius: 12px;
    border: solid 1px rgba(102, 102, 102, 0.35);
    gap: 4px;
    padding: 10px;
}

/* Password Hint Styling */
.password-hints {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    list-style-type: none;
    padding: 0;
    margin: 10px 0 0 0;
    font-size: 14px;
}

.hint {
    display: flex;
    align-items: center;
    color: #777; /* Default gray */
    margin: 5px 0;
    transition: color 0.3s, text-decoration 0.3s;
}

.hint::before {
    content: "●"; 
    margin-right: 8px;
    color: #777;
    font-size: 16px;
    transition: color 0.3s;
}

/* Styling when condition is met */
.hint.valid {
    color: #28a745; /* Green */
    font-weight: 400;

}

.hint.valid::before {
    content: "✔"; /* Checkmark */
    color: #28a745;
}

/* Password input focus effect */
.inputbox:focus + .password-hints .hint {
    color: #333;
}


.createbtncon{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.termandcon{
  flex-grow: 0;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 8px 8px 0;
  font-size: 15px;
}

.createbtn{
  width: 715px;
  height: 64px;
  border-radius: 40px;
  background-color: #000000;
  font-family: 'Poppins';
  font-size: 18px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #fff;
}


/* Responsive Design */
@media (max-width: 1024px) {

    
}

@media (min-width: 768px) and (max-width: 1024px)  {

    .createbtncon{
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .createbtn{
        font-size: 15px;
    }

    .termandcon{
        font-size: 15px;
    }


}


@media (max-width: 430px) {

    .inputs{
        gap: 10px;
        margin-top: 20px;
    }
    .inputbox{
        width: 315px;
    }

    .caa{
        font-size: 20px;
    }

    .ahac{
        font-size: 10px;
    }

    .label{
        font-family: 'Poppins';
        font-size: 10px;
        font-weight: normal;
        font-stretch: normal;
        font-style: normal;
        line-height: normal;
        letter-spacing: normal;
        text-align: left;
        color: #666;
    }
    
    .inputbox{
        width: 315px;
        height: 40px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-self: stretch;
        flex-grow: 0;
        border-radius: 10px;
        border: solid 1px rgba(102, 102, 102, 0.35);
        gap: 4px;
        padding: 10px;
        font-size: 10px;
    }

    .password-hints {
        display: grid;
        grid-template-columns: none; 
        font-size: 8px;
    }

    .hint {
        margin:0;
    }


    .termandcon{
        font-size: 8px;
    }


    .createbtncon{
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }


    .createbtn{
        width: 315px;
        height: 40px;
        border-radius: 40px;
        background-color: #000000;
        font-family: 'Poppins';
        font-size: 10px;
        font-weight: 500;
        font-stretch: normal;
        font-style: normal;
        line-height: normal;
        letter-spacing: normal;
        text-align: center;
        color: #fff;
      }
    
}