.code-input form {
    display: flex;
    flex-direction: column;
    gap: 8px; /* spacing between everything */
    margin: 10%;
}

.code-input input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-width: 5%;
}

.code-input input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.15);
}

.code-input input::placeholder {
    color: #aaa;
}

.code-input label {
    font-weight: 600;
}
.code-input-submit {
     margin-top: auto;
     width: 100%;
}

.code-input-submit button {
    margin-top: 1rem;
    width: 100%;
    height: 3rem;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: background 0.2s ease;
    border-color: #007bff;
}

.code-input-submit button:hover {
    background-color: #0056b3;
}

.form-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-row label {
    /*max-width: 150px;*/
    text-align: center;
    font-weight: 600;
}

.form-row input {
    flex: 1;
    width: 100%;
}
