/* Global settings */

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

html{
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

body{
    overflow-x: hidden;
    background-color: var(--Platonic);
    height: 100vh;
}

:root{
    --Platonic: #F5F5F5;
    --Tło: #171940;
    --Napisy_główne: #171940;
    --Napisy: #D9B97E;
    --Napisy_szare: #383838;
    --Login_register: #0667E7;
}

.clear {
    clear: both;
}

/* Nav section */

.register-login-navigation {
    display: flex;
    width: 100%;
    height: 90px;
    min-height: 90px;
}

.nav-platonic-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 90px;
    min-height: 90px;

    background-color: var(--Platonic);
}

.mainimagesplatonic {
    width: 64px;
    height: 64px;

    margin-left: 22px;
}

.mainplatonictitle {
    padding-left: 7px;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 40px;
    line-height: 48px;
    display: flex;
    align-items: center;
}

.mainplatonictitle-link {
    text-decoration: none;

    color: var(--Napisy_główne);
}

/* Main register section */

.mian-container-reg-log {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
}

.register-main-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    height: calc(100hv - 90px);

    background-color: var(--Platonic);
}

/* Left register section */

.register-left-section {
    width: 61%;
    height: calc(100vh - 90px);
    overflow: hidden;

    background: rgb(6,103,231);
    background: radial-gradient(circle, rgba(6,103,231,0.4) 0%, rgba(113,166,237,0.20211834733893552) 32%, rgba(190,212,242,0.15449929971988796) 48%, rgba(245,245,245,1) 69%, rgba(245,245,245,1) 100%);
}

.register-left-section-box {
    display: flex;
    flex-direction: column;
    margin-top: 70px;
    margin-left: 136px;
}

.register-title {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 48px;
    line-height: 58px;

    color: var(--Napisy_główne);
}

.register-left-section-describe {
    margin-top: 10px;
}

.register-subtitle {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;

    color: rgba(48, 48, 48, 0.48);
}

.register-left-section-describe img {
    width: 583px;
    height: 583px;
    margin-top: 50px;
    margin-left: 11%;
    transform: scaleX(-1);
    transform: matrix(-0.95, -0.3, -0.3, 0.95, 0, 0);
}

#photo-normal {
    display: block;
}

#photo-student {
    display: none;
}

#photo-techer {
    display: none;
}

#photo-tutor {
    display: none;
}

/* Right register section */

.register-right-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 39%;
    height: calc(100vh - 90px);
    padding-bottom: 90px;

    background-color: var(--Platonic);
}

.register-form-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 401px;
    height: auto;

    background-color: var(--Platonic);
}

/* Right register form */

.register-form-box {
    width: 401px;
}

.register-form-box form {
    width: 100%;
    position: relative;
}

form .input-box {
    position: relative;
    height: 55px;
    margin-bottom: 35px; /*26px zależy od validacji*/
}

.input-box input {
    position: absolute;
    width: 401px;
    min-width: 401px;
    height: 55px;
    padding-left: 15px;
    font-size: 18px;
    border-radius: 10px;
    border: 2px solid #0667E7;
    background-color: rgba(6, 103, 231, 0.12);
    outline: none;
    transition: all 0s linear;

    background-color: var(--Platonic);
}

.name-surname-box {
    display: flex;
    width: 205px;
    justify-content: space-between;
}

.custom-input input {
    width: 196px;
    min-width: 196px;
}

input:-webkit-autofill,
  input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, color 600000s 0s;
}

.small-error {
    position: absolute;
    top: 60px;
    left: 10px;
    width: 350px;
    color: #D91122;
    font-size: 14px;
}

#error1 {
    display: block;
}

#error2 {
    display: block;
}

.fa-exclamation:before  {
    display: none;
    color: #D91122;   
}

input:is(:focus, :valid) {
    border: 2px solid;
    border-color: var(--Login_register);
    background-color: var(--Platonic);
}

.input-box :is(label, i) {
    position: absolute;
    top: 50%;
    transform:translateY(-50%);
    color: #797979;
    transition: all 0.1s ease;
}

.input-box label {
    left: 15px;
    font-size: 16px;
    pointer-events: none;
}

input:is(:focus) ~ label {
    top: 0;
    padding-left: 3px;
    padding-right: 3px;
    font-size: 16px;
    color: var(--Login_register);
    background-color: var(--Platonic);
}

input:is(:valid) ~ label {
    top: 0;
    padding-left: 3px;
    padding-right: 3px;
    font-size: 16px;
    color: var(--Login_register);
    background-color: var(--Platonic);
}

.input-box i {
    right: 20px;
    cursor: pointer;
}

input:is(:focus, :valid) ~ i {
    color: var(--Login_register);
}

.tos-box {
    display: flex;
    flex-direction: row;
    height: 25px;
    margin-bottom: 26px;
    align-items: center;
}

input[type = checkbox] {
    width: 25px;
    height: 25px;
    margin-right: 11px;
}

.tos-description {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    display: flex;
    align-items: center;

    color: #797979;
}

.tos-description a {
    padding-left: 5px;
    color: var(--Login_register);
}

.tos-box .tos-description-pass {
    display: flex;
    margin-left: auto;
    margin-right: 0;
}

.tos-description-pass a {
    display: flex;
    text-decoration: none;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    display: flex;
    align-items: center;

    color: #797979;
}

.submit-text {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    text-align: center;

    color: var(--Napisy_główne);
}

.other-login-btn-box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 401px;
    min-width: 401px;
    margin-bottom: 26px;

    background-color: var(--Platonic);
}

.other-login-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32%;
    height: 55px;

    background: rgba(245, 245, 245, 0.12);
    border: 2px solid #0667E7;
    border-radius: 10px;
    cursor: pointer;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    align-items: center;
    text-align: center;

    color: var(--Napisy_główne);
}

.other-login-btn-long {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 55px;

    background: #0667E7;
    border: 2px solid #024192;
    border-radius: 10px;
    cursor: pointer;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    align-items: center;
    text-align: center;

    color: var(--Platonic);
}

.other-login-btn-long:hover {
    scale: 1.1;
}

#btn-submit {
    width: 100%
}

.submit-btn {
    width: 401px;
    height: 55px;

    background: #0667E7;
    border-radius: 15px;
    border: none;  

    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;

    color: #F5F5F5;
}

.submit-btn:hover {
    scale: 1.01;
    background: #0749a0;
}

.submit-btn.school-login:hover {
    scale: 1.05;
    cursor: pointer;
}

.submit-btn span {
    width: 401px;
    height: 27px;
    align-items: center;
    text-align: center;
}

.other-login-btn--active {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 127px;
    height: 55px;

    background: var(--Login_register);
    border: 2px solid #0667E7;
    border-radius: 10px;
    cursor: pointer;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    align-items: center;
    text-align: center;

    color: var(--Platonic);
}


.other-login-btn:hover {
    scale: 1.1;
    transition: all 0.3s;
}

.nav-btn {
    display: flex;
    justify-content: space-around;
    max-width: 401px;
    width: 100%;
}

.login-link {
    display: flex;
    width: 40%;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    background-color: var(--Platonic);

    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    display: flex;
    align-items: center;
    text-align: center;

    color: #0667E7;
}

.register-link {
    display: flex;
    width: 40%;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    background-color: var(--Platonic);
    cursor: default;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    display: flex;
    align-items: center;
    text-align: center;
}

.register-link a {
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid #0667E7;

    color: var(--Login_register);
}

.login-link a {
    text-decoration: none;
    white-space: nowrap;
    color: var(--Napisy_główne);
}

/* Confirm Code */

.small-confirm-info {
    display: none;
}

/* User class */

.input-box select {
    position: absolute;
    width: 401px;
    min-width: 401px;
    height: 55px;
    padding-left: 15px;
    font-size: 18px;
    border-radius: 10px;
    border: 2px solid #0667E7;
    background-color: rgba(6, 103, 231, 0.12);
    outline: none;
    transition: all 0s linear;
    background-color: var(--Platonic);
}

.input-box select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='1em' viewBox='0 0 512 512'><path d='M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/></svg>") no-repeat;
    background-position-x: 97%;
    background-position-y: 50%;
    padding-right: 30px; /* Dostosuj, aby zrekompensować przestrzeń dla ikony */
}

input:-webkit-autofill, select:-webkit-autofill,
input:-webkit-autofill:focus, select:-webkit-autofill:focus {
    transition: background-color 600000s 0s, color 600000s 0s;
}

input select:is(:focus, :valid) {
    border: 2px solid;
    border-color: var(--Login_register);
    background-color: var(--Platonic);
}

input select:is(:focus) ~ label,
input select:is(:valid) ~ label {
    top: 0;
    padding-left: 3px;
    padding-right: 3px;
    font-size: 16px;
    color: var(--Login_register);
    background-color: var(--Platonic);
}

input select:is(:focus, :valid) ~ i {
    color: var(--Login_register);
}

.email-school-show {
    display: flex;
    padding: 6px 0px;
    margin-bottom: 10px;
}

.email-school-text {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    display: flex;
    align-items: center;
    text-align: center;
}

.email-invalid {
    display: flex;
    margin-top: -20px;
    margin-bottom: 20px;
    padding: 10px 0px;
    flex-direction: row;
}

.email-invalid a {
    color: black;
}

.email-invalid i {
    display: flex;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    margin-right: 10px;
    color: #d67e0a;
    font-size: 20px;
}

/* Cookie banner */

.cookie-banner {
    position: fixed;
    display: none;
    bottom: 30px;
    right: 30px;
    z-index: 11;
    flex-direction: column;
    padding: 20px 60px;
    max-width: 500px;
    max-height: 630px;
    border-radius: 12px;
    background-color: var(--Platonic);
}

.cookie-banner-title-box {
    display: flex;
    align-items: center;
    width: 100%;
    height: 55px;
}

.cookie-banner-title {
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;

    color: #222;
}

.cookie-banner-desc-box {
    width: 90%;
    margin-top: 20px;
}

.cookie-banner-text {
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

    color: #222222;
}

.cookie-banner-link {
    color: #2660F5;
}

.cookie-banner-button-box {
    margin-top: 30px;
}

.cookie-banner-btn {
    padding: 15px 27px; 
    border-radius: 6px;
}

.cookie-accept {
    background: #2660F5;
    border: 1px solid #1845db;
    
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: var(--Platonic);
}

.cookie-accept:hover {
    background: #0a39af;
    border: 1px solid #07092e;
}

.cookie-decline {
    background: #E7E9FF;
    border: 1px solid #94A7D7;
    
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: #222222;
}

.cookie-decline:hover {
    background: #bcbfdd;
    border: 1px solid #4d6091;
}

.btn-marg-left {
    margin-left: 15px;
}

/* Teacher Add Information */

.teacher-add-information-label {
    position: absolute !important;
    top: -15px !important;
    font-family: 'Inter'!important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    color: var(--Login_register) !important;
}

.submit-btn-teacher-add-info-code {
    background-color: #F5F5F5;
    border: 2px solid #0667E7;
    font-weight: 400;
}

.submit-btn-teacher-add-info-code a{
    color: #0667E7;
    text-decoration: none;
}

.submit-btn-teacher-add-info-code:hover {
    background-color: #0667E7;
    border: 2px solid #111672;
    color: #F5F5F5;
    scale: 1.1;
}

.submit-btn-teacher-add-info-code:hover a {
    color: #F5F5F5;
}


.submit-btn-teacher-add-info {
    width: 48%;
}

.submit-btn-teacher-add-info:hover {
    background-color: #111672;
    scale: 1.1;
}

/* Logout section */

.central-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background-color: var(--Platonic);
}

.central-logout-box {
    display: flex;
    flex-direction: column;
}

.logout-title-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.logout-title {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 40px;
    line-height: 48px;
    display: flex;
    align-items: center;
    text-align: center;

    color: #171940;
}

.logout-button-box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.logout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48%;
    height: 50px;
    border: 1px solid #171940;
    border-radius: 6px;
    background-color: var(--Platonic);

    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
}

.logout-button a {
    text-decoration: none;
    color: var(--Napisy_główne)
}

.logout-button:hover {
    scale: 1.1;
    background-color: var(--Tło);
    border: 1px solid #0E0F26;
}

.logout-button:hover a {
    color: var(--Platonic);
}