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

body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    color: #000;
}

.wrapper {
    background: url(../images/bg1.png) left top no-repeat;
    background-size: cover;
    max-width: 420px;
    margin: 0 auto;
    padding: 20px 15px;
}

.header {
    text-align: center;
    margin-bottom: 15px;
}

.logo {
    max-height: 40px;
}

.bg-flag {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.title {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 10px;
    margin-top: 60px;
}

.blue {
    color: #2b78e4;
}

.salary-box {
    background-color: #b9e3d3;
    color: #075e54;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.salary-box strong {
    font-weight: 700;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.input-wrapper input[type="text"],
.input-wrapper input[type="tel"] {
    width: 100%;
    margin-bottom: 10px;
    padding: 12px;
    border: none;
    border-bottom: 1px solid #999;
    font-size: 16px;
    background: transparent;
}

.phone-field {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #999;
    padding-bottom: 8px;
}

.phone-field .flag {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 10px;
}

.phone-field img {
    width: 24px;
    height: auto;
}

.phone-field input {
    border: none;
    flex: 1;
    font-size: 16px;
    outline: none;
}

.main {
    max-width: 300px;
    margin: 0 auto;
}

.submit-btn {
    background-color: #ffd700;
    color: #000;
    font-weight: bold;
    padding: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 16px;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #ffcc00;
}

.trust {
    text-align: center;
}

.trust h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.trust p {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 20px;
}

.partners {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.partners img {
    max-height: 25px;
    max-width: 60px;
    object-fit: contain;
    flex: 1 1 30%;
}

 #preloader {
     position: fixed;
     inset: 0;
     background: #000;
     color: #fff;
     font-size: 64px;
     display: flex;
     align-items: center;
     justify-content: center;
     z-index: 9999;
     font-family: monospace;
 }

#number.green {
    color: #00ff00;
}

#popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.popup-content {
    background: #222;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.popup-content button {
    margin-top: 20px;
    padding: 10px 30px;
    font-size: 18px;
    cursor: pointer;
}

 .code-gen-screen {
     background: url("../images/bg1.png") no-repeat top right;
     background-size: cover;
     background-color: #fff;
     font-family: Arial, sans-serif;
     text-align: center;
     padding: 40px 20px;
     min-height: 100vh;
     box-sizing: border-box;
     width: 100%;
 }

.code-gen-header .logo {
    height: 36px;
    margin-bottom: 20px;
}

.code-title {
    font-size: 22px;
    line-height: 1.4;
    font-weight: bold;
    margin-bottom: 25px;
    color: black;
}

.search-label {
    color: #999;
    font-size: 18px;
    margin-bottom: 16px;
}

.code-digits {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
}

.digit {
    width: 60px;
    height: 110px;
    border: 3px solid #00aab4;
    border-radius: 30px;
    font-size: 42px;
    font-weight: bold;
    color: #00aab4;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.green {
    color: #00D540;
}

.analysis-text {
    font-size: 16px;
    color: #aaa;
    margin-top: 8px;
}

.logos img {
    margin-top: 40px;
    width: 100%;
    max-width: 280px;
}

 .code-success-screen {
     background: linear-gradient(to bottom, #2b2b2b, #1c1c1c);
     color: white;
     padding: 40px 20px;
     text-align: center;
     font-family: Arial, sans-serif;
     min-height: 100vh;
     display: flex;
     justify-content: center;
     align-items: center;
 }

.code-success-inner {
    max-width: 320px;
    width: 100%;
    margin-top: -130px;
}

.success-title {
    color: #00ff66;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
}

.success-description {
    font-size: 16px;
    line-height: 1.5;
    color: #eee;
    margin-bottom: 25px;
}

.code-digits.green {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 30px;
}

.code-digits.green .digit {
    width: 60px;
    height: 110px;
    border: 3px solid #00ff66;
    border-radius: 30px;
    font-size: 42px;
    font-weight: bold;
    color: #00ff66;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 255, 102, 0.2);
}

.green-btn {
    background: linear-gradient(to bottom, #00ff66, #00aa44);
    border: none;
    padding: 14px 24px;
    font-size: 18px;
    color: white;
    border-radius: 30px;
    cursor: pointer;
    width: 100%;
    max-width: 260px;
}

.green-btn:hover {
    background: linear-gradient(to bottom, #00dd55, #009944);
}

