.browser-bar {
    background: #f1f1f1;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #ccc;
}
.browser-buttons {
    display: flex;
    gap: 5px;
}
.browser-buttons div {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.close-btn {
    color: red;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 7px;
    font-size: 24px;
}
.min-btn { background: #ffbd2e; }
.max-btn { background: #27c93f; }
.address-bar {
    flex: 1;
    margin: 0 10px;
    background: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
    color: gray;
    border: 1px solid #ccc;
    text-align: center;
    font-weight: bold;
}
.iframe-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 350px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    height: 450px;
    display: none; /* Initially hidden */
    position: absolute;
    left:0;
    right:0;
    margin:auto;

}
.login-box {
    padding: 20px;
    margin-top: 20px;
}
h2 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}
.login-form input {
    width: 100%;
    padding: 8px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.login-form button {
    background-color: #1877f2;
    color: white;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.login-form button:hover {
    background-color: #125ab6;
}
.forgot-password {
    font-size: 14px;
    color: #1877f2;
    cursor: pointer;
    text-decoration: none;
}
.forgot-password:hover {
    text-decoration: underline;
}
.box_fn {
    display: none;
}
.iframe-container::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0));
    z-index: -1;
}
/* Loader styling */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loading-text {
    font-size: 18px;
    color: #3498db;
    margin-top: 10px;
    font-weight: bold;
    animation: fadeInOut 1.5s infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}