body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    text-align: center;
    padding: 50px;
}

#open-form {
    font-size: 20px;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.popup-content {
    background: white;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 90%;
    overflow-y: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.screen {
    display: none;
}

.screen.active {
    display: block;
}

.loan-options, .loan-history-options {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.loan-option, .loan-history {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 10px;
    padding: 20px;
    font-size: 18px;
    cursor: pointer;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 10px;
    transition: transform 0.3s;
}

.loan-option i, .loan-history i {
    font-size: 24px;
    margin-bottom: 10px;
}

.loan-option:hover, .loan-history:hover {
    transform: scale(1.1);
}

#loan-amount {
    width: 80%;
}

#review-info {
    text-align: left;
    margin-bottom: 20px;
}

label {
    display: block;
    margin: 20px 0;
}

.continue-button {
    padding: 10px 20px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.continue-button:hover {
    background: #218838;
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form {
    max-width: 400px;
    margin: 0 auto;
}

.hidden {
    display: none;
}

.screen {
    display: none;
}

.screen.active {
    display: block;
}

body {
    font-family: Arial, sans-serif;
}

#open-form {
    position: relative;
    z-index: 10;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 20;
    overflow: auto;
}

.popup-content {
    margin: 5% auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.screen {
    display: none;
}

.screen.active {
    display: block;
}

.loan-options, .loan-history-options {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.loan-option, .loan-history {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 10px;
    padding: 20px;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s;
}

.loan-option:hover, .loan-history:hover {
    transform: scale(1.1);
}

.continue-button {
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    display: none;
}

