.shortcut{
    position: relative;
  display: block;
  width: 60px;
  height: 60px;
  text-align: center;
  line-height: 60px;
  background: #171515;
  border-radius: 50%;
  font-size: 30px;
  color: #666;
  transition: .5s;
}

.shortcut:before{
    content: '';
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  border-radius:50%;
  background: #d35400;
  transition: .5s;
  transform: scale(.9);
  z-index: -1;
}

.shortcut:hover:before{
    transform: scale(1.2);
    box-shadow: 0 0 15px #d35400;
    filter: blur(3px);
}

.shortcut:hover{
    color: #ffa502;
  box-shadow: 0 0 15px #d35400;
  text-shadow: 0 0 15px #d35400;
}

/* ORANGE (domyślny styl) */
.shortcut--orange::before {
  background: #d35400;
}
.shortcut--orange:hover:before {
  box-shadow: 0 0 15px #d35400;
}
.shortcut--orange:hover {
  color: #ffa502;
  box-shadow: 0 0 15px #d35400;
  text-shadow: 0 0 15px #d35400;
}

/* BLUE */
.shortcut--blue::before {
  background: #2980b9;
}
.shortcut--blue:hover:before {
  box-shadow: 0 0 15px #2980b9;
}
.shortcut--blue:hover {
  color: #3498db;
  box-shadow: 0 0 15px #2980b9;
  text-shadow: 0 0 15px #2980b9;
}

/* GREEN */
.shortcut--green::before {
  background: #8fc866;
}
.shortcut--green:hover:before {
  box-shadow: 0 0 15px #8fc866;
}
.shortcut--green:hover {
  color: #2ecc71;
  box-shadow: 0 0 15px #8fc866;
  text-shadow: 0 0 15px #8fc866;
}

/* RED */
.shortcut--red::before {
  background: #ff7f82;
}
.shortcut--red:hover:before {
  box-shadow: 0 0 15px #ff7f82;
}
.shortcut--red:hover {
  color: #ff7f82;
  box-shadow: 0 0 15px #ff7f82;
  text-shadow: 0 0 15px #ff7f82;
}

/* yellow */
.shortcut--yellow::before {
  background: #e4cb58;
}
.shortcut--yellow:hover:before {
  box-shadow: 0 0 15px #e4cb58;
}
.shortcut--yellow:hover {
  color: #e4cb58;
  box-shadow: 0 0 15px #e4cb58;
  text-shadow: 0 0 15px #e4cb58;
}




/* PINK */
.shortcut--pink::before {
  background: #ef6eae;
}
.shortcut--pink:hover:before {
  box-shadow: 0 0 15px #ef6eae;
}
.shortcut--pink:hover {
  color: #ef6eae;
  box-shadow: 0 0 15px #ef6eae;
  text-shadow: 0 0 15px #ef6eae;
}

/* PURPLE */
.shortcut--purple::before {
  background: #a972cb;
}
.shortcut--purple:hover:before {
  box-shadow: 0 0 15px #a972cb;
}
.shortcut--purple:hover {
  color: #a972cb;
  box-shadow: 0 0 15px #a972cb;
  text-shadow: 0 0 15px #a972cb;
}



/* GOLD */
.shortcut--gold{
    color: var(--second)!important;
    background: #d0c57e;
}
.shortcut--gold:hover {
  color: #d0c57e!important;
  background: var(--second)!important;
  box-shadow: 0 0 15px var(--second)!important;
  text-shadow: 0 0 15px var(--second)!important;
}

.shortcut-rev--gold{
    color: #d0c57e;
    background: none;
    box-shadow: 0 0 15px var(--second)!important;
}

.shortcut-rev--gold:hover {
  color: var(--second)!important;
  background: #d0c57e!important;
  box-shadow: 0 0 15px #d0c57e!important;
  text-shadow: 0 0 15px #d0c57e;
}

.shortcut--active-gold {
  color: #d0c57e;
  box-shadow: 0 0 15px #d0c57e;
  text-shadow: 0 0 15px #d0c57e;
}

.shortcut--active-gold::before {
  background: #d0c57e;
  transform: scale(1.2);
  filter: blur(3px);
  opacity: 1;
  box-shadow: 0 0 15px #d0c57e;
}




.shortcut--first {
  background: var(--first);
}

.shortcut--first:hover {
  color: var(--first);
  box-shadow: 0 0 15px var(--first);
  text-shadow: 0 0 15px var(--first);
}

.shortcut-rev--first{
    color: var(--first);
    background: none;
}

.shortcut-rev--first:hover {
  color: var(--second)!important;
  background: var(--first);
  box-shadow: 0 0 15px #d0c57e!important;
  text-shadow: 0 0 15px #d0c57e;
}


.shortcut--second {
  background: var(--second);
}

.shortcut--second:hover {
  color: var(--second);
  box-shadow: 0 0 15px var(--second);
  text-shadow: 0 0 15px var(--second);
}


.shortcut-rev--second{
    color: var(--second);
    background: none;
}

.shortcut-rev--second:hover {
  color: var(--first)!important;
  background: var(--second);
  box-shadow: 0 0 15px #d0c57e!important;
  text-shadow: 0 0 15px #d0c57e;
}


.shortcut--third {
  background: var(--third);
}

.shortcut--third:hover {
  color: var(--third);
  box-shadow: 0 0 15px var(--third);
  text-shadow: 0 0 15px var(--third);
}

.shortcut-rev--third{
    color: var(--third);
    background: none;
}

.shortcut-rev--third:hover {
  color: var(--second)!important;
  background: var(--third);
  box-shadow: 0 0 15px #d0c57e!important;
  text-shadow: 0 0 15px #d0c57e;
}


.shortcut--fourth {
  background: var(--fourth);
}

.shortcut--fourth:hover {
  color: var(--fourth);
  box-shadow: 0 0 15px var(--fourth);
  text-shadow: 0 0 15px var(--fourth);
}

.shortcut-rev--fourth{
    color: var(--fourth);
    background: none;
}

.shortcut-rev--fourth:hover {
  color: var(--second)!important;
  background: var(--fourth);
  box-shadow: 0 0 15px #d0c57e!important;
  text-shadow: 0 0 15px #d0c57e;
}


/*    LOGIN FORM   */

.container-login{
    position: relative;
    width: 850px;
    height: 550px;
    background: #fff;
    margin: 20px;
    border-radius: 30px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .2);
    overflow: hidden;
}

.container-login h1{
    font-size: 36px;
    margin: -10px 0;
}

.container-login p{
    font-size: 14.5px;
    margin: 15px 0;
}

.container-login form{ width: 100%; }

.container-login .form-box{
    position: absolute;
    right: 0;
    width: 50%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    color: #333;
    text-align: center;
    padding: 40px;
    z-index: 1;
    transition: .6s ease-in-out 1.2s, visibility 0s 1s;
}

.container-login.active .form-box{ right: 50%; }

.form-box.register{ opacity: 0; visibility: hidden; }
.container-login.active .form-box.register{ visibility: visible; opacity: 1; transition: opacity 0.5s ease 0s, visibility 0s linear 0s; }

.input-box{
    position: relative;
    margin: 30px 0;
}

.input-box input{
    width: 100%;
    padding: 13px 50px 13px 20px;
    background: #eee;
    border-radius: 8px;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.input-box input::placeholder{
    color: #888;
    font-weight: 400;
}
    
.input-box i{
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.input-box select {
    width: 100%;
    padding: 13px 50px 13px 20px;
    background: #eee;
    border-radius: 8px;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.input-box select option[disabled][hidden], .input-box select:invalid {
    color: #888 !important;
    font-weight: 400;
}

.input-box select option:not([disabled]) {
    color: #333;
    font-weight: 500;
}

.forgot-link{ margin: -15px 0 15px; }
.forgot-link a{
    font-size: 14.5px;
    color: #333;
}

.container-login .btn{
    width: 100%;
    height: 48px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
}

.social-icons{
    display: flex;
    justify-content: center;
}

.social-icons a{
    display: inline-flex;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 24px;
    color: #333;
    margin: 0 8px;
}

.toggle-box{
    position: absolute;
    width: 100%;
    height: 100%;
}

.toggle-box::before{
    content: '';
    position: absolute;
    left: -250%;
    width: 300%;
    height: 100%;
    background: var(--second);
    border-radius: 150px;
    z-index: 2;
    transition: 1.6s ease-in-out;
}

.container-login.active .toggle-box::before{ left: 50%; }

.toggle-panel{
    position: absolute;
    width: 50%;
    height: 100%;
    /* background: seagreen; */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: .6s ease-in-out;
}

.toggle-panel.toggle-left{ 
    left: 0;
    transition-delay: 1.2s; 
}

.container-login.active .toggle-panel.toggle-left{
    left: -50%;
    transition-delay: .6s;
}

.toggle-panel.toggle-right{ 
    right: -50%;
    transition-delay: .6s;
}

.container-login.active .toggle-panel.toggle-right{
    right: 0;
    transition-delay: 1.2s;
}

.toggle-panel p{ margin-bottom: 20px; }

.toggle-panel .btn{
    width: 160px;
    height: 46px;
    background: transparent;
    border: 2px solid #fff;
    box-shadow: none;
}

@media screen and (max-width: 850px){
    .container-login{ height: 800px;}

    .form-box{
        bottom: 0;
        width: 100%;
        height: 70%;
    }

    .container-login .form-box{
      width:100%;
    }

    .container-login.active .form-box{
        right: 0;
        bottom: 30%;
    }

    .toggle-box::before{
        left: 0;
        top: -270%;
        width: 100%;
        height: 300%;
        border-radius: 20vw;
    }

    .container-login.active .toggle-box::before{
        left: 0;
        top: 70%;
    }

    .container-login.active .toggle-panel.toggle-left{
        left: 0;
        top: -30%;
    }

    .toggle-panel{ 
        width: 100%;
        height: 30%;
    }
    .toggle-panel.toggle-left{ top: 0; }
    .toggle-panel.toggle-right{
        right: 0;
        bottom: -30%;
    }

    .container-login.active .toggle-panel.toggle-right{ bottom: 0; }

    .form-box.register{
      display: flex;
      flex-direction: column;
      justify-content: end;
      height: 100%;
      padding-bottom: 100px;
    }
}


.school-icon {
    width: 96px;
    height: 96px;
    background-image: url('/img/icons/school.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto;
    transition: background-image 0.3s ease;
}

a:hover .school-icon {
    background-image: url('/img/icons/school3.png');
}

.student-icon {
    width: 96px;
    height: 96px;
    background-image: url('/img/icons/student.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto;
    transition: background-image 0.3s ease;
}

a:hover .student-icon {
    background-image: url('/img/icons/student3.png');
}

.dot {
  background: #ddb868;
  border: 1px solid #ddb868;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  position: fixed; /* zamiast absolute */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: none;
  pointer-events: none;
}

.dot.bordered {
  background: transparent;
  border: 2px solid #ddb868;
}


.konfetti-container {
    position: relative;
    overflow: visible;
}

/* Obrazek nad konfetti */
.konfetti-container img.confetti-trigger {
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.confetti-trigger{
  width:75%;
}

/* Punkty konfetti */
.konfetti-container .dot {
    background: #ddb868;
    border: 1px solid #ddb868;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 1;
    pointer-events: none;
}

.konfetti-container .dot.bordered {
    background: transparent;
    border: 2px solid #ddb868;
}
