/* General Setup */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #333;
}

.container {
    background-color: #ffffff;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    max-height: 700px; /* Limit height on desktop */
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    border-radius: 8px; /* Added for desktop view */
}

form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Page 1: index.html */
.header-blue {
    background-color: #108ee9;
    padding: 20px;
    text-align: center;
}

.logo {
    color: white;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
}

.content {
    padding: 25px;
    flex-grow: 1; /* Makes content fill available space */
}

.content h2 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
}

.content label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.input-group {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    align-items: center;
}

.country-code {
    padding: 12px 15px;
    background-color: #f7f7f7;
    color: #333;
    font-weight: bold;
    border-right: 1px solid #ddd;
    display: flex;
    align-items: center;
    gap: 8px;
}

.flag {
    width: 24px;
    height: auto;
}

input[type="tel"] {
    border: none;
    padding: 12px 15px;
    font-size: 16px;
    width: 100%;
    outline: none;
}

.terms {
    font-size: 12px;
    color: #777;
    margin-top: 15px;
    line-height: 1.5;
}

.footer-blue {
    background-color: #108ee9;
    padding: 15px 25px; /* Added padding */
    margin-top: auto; /* Pushes footer to the bottom */
}

.btn-submit {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    padding: 0; /* Padding is on the parent */
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Page 2: pin.php */
.header-simple {
    padding: 15px 20px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.icon-back {
    position: absolute;
    left: 15px;
    top: 13px;
    color: #555;
    cursor: pointer;
}

.text-center {
    text-align: center;
}

.pin-input {
    width: 80%;
    padding: 12px;
    font-size: 24px;
    text-align: center;
    letter-spacing: 15px; /* Creates space between dots */
    border: 1px solid #ccc;
    border-radius: 8px;
    margin: 30px 0;
    outline: none;
}

.pin-input::placeholder {
    color: #ccc;
    letter-spacing: 15px;
}

.links {
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    margin-top: 25px;
}

.links a {
    text-decoration: none;
    color: #108ee9;
    font-weight: 600;
    font-size: 14px;
}

.btn-submit-pin {
    background-color: #108ee9;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    width: 90%;
    cursor: pointer;
    margin-top: 30px;
}
