body {
    background-color: #f5f5f5;
    color: #101827;
    font-family: Arial;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 20px 80px;
}

h1 {
    font-size: 56px;
    font-family: "Aduma Regular";
    color: #efcf00;
    margin-bottom: 20px;
}

p {
    max-width: 1000px;
    font-size: 18px;
    white-space: pre-wrap;
}

.field-container {
    margin: 30px 0 80px;
    width: 100%;
    max-width: 750px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
    padding: 24px;
    box-sizing: border-box;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bagrut-type {
    width: 100px;
    margin-right: 20px;
}

.image-upload-wrapper {
    height: 100px;
    width: 100%;
    font-size: 20px;
    color: #6b7280;
    background-color: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px;
    padding: 20px;
    box-sizing: border-box;
}

.uploaded-image {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.image-name {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.search-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    font-size: 18px;
    color: white;
    background-color: #3b82f6;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.loader {
    margin-left: 10px;
    width: 13px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 4px solid white;
    animation:
      l20-1 0.8s infinite linear alternate,
      l20-2 1.6s infinite linear;
  }
  @keyframes l20-1{
     0%    {clip-path: polygon(50% 50%,0       0,  50%   0%,  50%    0%, 50%    0%, 50%    0%, 50%    0% )}
     12.5% {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100%   0%, 100%   0%, 100%   0% )}
     25%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 100% 100%, 100% 100% )}
     50%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
     62.5% {clip-path: polygon(50% 50%,100%    0, 100%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
     75%   {clip-path: polygon(50% 50%,100% 100%, 100% 100%,  100% 100%, 100% 100%, 50%  100%, 0%   100% )}
     100%  {clip-path: polygon(50% 50%,50%  100%,  50% 100%,   50% 100%,  50% 100%, 50%  100%, 0%   100% )}
  }
  @keyframes l20-2{ 
    0%    {transform:scaleY(1)  rotate(0deg)}
    49.99%{transform:scaleY(1)  rotate(135deg)}
    50%   {transform:scaleY(-1) rotate(0deg)}
    100%  {transform:scaleY(-1) rotate(-135deg)}
  }

.results {
    display: flex;
    flex-direction: column;
}

.successful-result-title, .failed-result-title {
    font-size: 36px;
    font-family: "Aduma Regular";
    font-weight: bold;
    color: green;
    margin-bottom: 10px;
}

.failed-result-title {
    color: red;
}

.result {
    width: 100%;
    max-width: 750px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}