*{
        font-size: large;
            font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

body{
    background-color: #4e4e4e;
    background-image: url('../bg-flames.png');
}
#logo{
    text-align: center;
}
hr{
    border-radius: 20px;
    border: black 1px;
}
#ogl{
    margin: 100px;
    background-color: rgb(214, 208, 208);
    padding: 15px;
    border-radius: 20px;
}
#ogl h1{
    text-align: center;
}

#dane, #zglos,#koniec{
    font-size: large;
    border-radius: 20px;
    background-color: rgb(211, 209, 206);
    margin: 100px;
    padding: 15px;
}
form#dane input{
    margin: 5px;
}

 #boxp {
        display:flex;
        justify-content: space-around;
        background-color: #7e2828;
                font-size: large;
                    border-radius: 20px;
                    background-color: rgb(211, 209, 206);
                    margin: 100px;
                    padding: 15px;
    }
    input[type="checkbox"] {
    vertical-align: middle;
    }
.styled-form {
background: #ffffff;
padding: 40px 30px;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
width: 100%;
max-width: 1000px;
box-sizing: border-box;
}

.styled-form h2 {
margin-top: 30px;
color: #333;
font-size: 1.3em;
border-bottom: 1px solid #ddd;
padding-bottom: 5px;
}

.styled-form label {
display: block;
margin: 20px 0 8px;


}

.styled-form input[type="text"],.styled-form input[type="number"],.styled-form input[type="date"],.styled-form input[type="email"], textarea,select {
width: 100%;
padding: 12px 14px;
font-size: 1em;
border: 1px solid #ccc;
border-radius: 8px;
box-sizing: border-box;
transition: border 0.3s;
}

.styled-form input:focus {
border-color: #007bff;
outline: none;
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.styled-form button,input[type="submit"] {
margin-top: 30px;
padding: 12px 20px;
background-color: #007bff;
border: none;
color: white;
font-size: 1em;
border-radius: 8px;
cursor: pointer;
transition: background 0.3s ease;
width: 100%;
}

.styled-form button:hover,input[type="submit"] {
background-color: #0056b3;
}

label:not(:has(input)) {

font-size: 1.2em;
}

 input[type="file"] {
      display: none;
    }

    .upload-box {
      background: #fff;
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      max-width: 500px;
      margin: auto;
    }

    .upload-box label {
      font-weight: bold;
      display: block;
      margin-bottom: 10px;
    }
    .file-item {
      background: #ffa8a8;
      padding: 8px 10px;
      margin-bottom: 5px;
      border-radius: 10px;
    }
    .drop-zone {
      border: 2px dashed #ff0000;
      padding: 30px;
      text-align: center;
      color: #ff0000;
      border-radius: 10px;
      cursor: pointer;
      margin-bottom: 15px;
      transition: background 0.3s;
    }

    .drop-zone.dragover {
      background-color: #e6f0ff;
    }

@media (max-width: 900px) {
    #ogl{
        margin: 10px;
    }
    #boxp{
        margin: 5px;
        padding: 2px;   
    }
    #dane,#zglos{
        margin: 3px;
    }
}



#czekdiv{
display: flex;
flex-direction: column;
align-items: center;
}
.signal {
  width: 100px;
  height: 100px;
  border: 10px solid #0077ff; /* niebieska obręcz */
  border-radius: 50%;
  border-top-color: transparent; /* dzięki temu powstaje efekt wiru */
  border-bottom-color: transparent;
  animation: pulse 1s infinite alternate;
}

@keyframes pulse {
  0% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 0 10px #0077ff, 0 0 20px #0077ff, 0 0 30px #0077ff;
  }
  100% {
    transform: scale(1.3) rotate(360deg);
    box-shadow: 0 0 20px #00f, 0 0 40px #00f, 0 0 60px #00f;
  }
}
.pulsating-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 50px;
  height: 50px;
  
  &:before {
    content: '';
    position: relative;
    display: block;
    width: 300%;
    height: 300%;
    box-sizing: border-box;
    margin-left: -100%;
    margin-top: -100%;
    border-radius: 45px;
    background-color: #e90101;
    animation: pulse-ring 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  }
  
  &:after {
    content: '';
    position: absolute;
    left: 0; 
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 0 8px rgba(0,0,0,.3);
    animation: pulse-dot 1.25s cubic-bezier(0.455, 0.03, 0.515, 0.955) -.4s infinite;
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(.33);
  }
  80%, 100% {
    opacity: 0;
  }
}

@keyframes pulse-dot {
  0% {
    transform: scale(.8);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(.8);
  }
}