body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    text-align: center;
    zoom: 90%;
}
.wrapper {
    /* clear: both; */
    width:90%;
    background: #fff;
    position: relative;
    display: block;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 50px;
}
h2 {
    color: #333;
    padding: 20px;
}

table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    background: #fff;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #007BFF;
    color: white;
}

button, a, input[type="submit"] {
    padding: 10px 15px;
    text-decoration: none;
    background: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

a:hover, button:hover, input[type="submit"]:hover {
    background: #007BFF;
}



label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.form-container {
    display: grid;
    margin: 0 auto;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.full-width {
    grid-column: span 2; /* Makes details input span both columns */
}

label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #444;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

textarea {
    resize: none;
    height: 80px;
}

.mfa-group {
    display: flex;
    align-items: center;
    gap: 10px;
    grid-column: span 2; /* Keeps MFA centered */
}

button {
    width: 100%;
    background: #007BFF;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    grid-column: span 2;
    margin-top: 10px;
}

button:hover {
    background: #0056b3;
}

/* Responsive */
@media (max-width: 480px) {
    .form-container {
        grid-template-columns: 1fr; /* Stacks inputs on small screens */
    }
}

@media (max-width: 768px) {
    table, form {
        width: 100%;
    }

    th, td {
        padding: 8px;
    }

    form {
        padding: 15px;
    }
}
.reg-login{
    width: 50%;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    margin-top: 10%;
}
p{margin: 20px;}
.eye-icon {
    position: absolute;
    
    margin-top: 11px;
    margin-left: -25px;
        cursor: pointer;
    font-size: 18px;
} .error {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}/* Modal Background */
/* Modal Background */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    overflow: auto;
}

/* Modal Content */
.modal-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    margin: 10% auto;
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: fadeIn 0.3s ease-in-out;
}

/* Close Button */
.modal .close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.modal .close:hover {
    color: red;
}

/* Form Layout */
.modal .form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Form Groups */
.modal .form-group {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

/* Labels */
.modal label {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

/* Input Fields */
.modal input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    background: #f8f9fa;
}

/* Two-column input alignment */
.modal .form-group input {
    width: 48%;
}

/* Full-width input */
.modal .full-width textarea {
    width: 100%;
    height: 80px;
}

/* MFA Checkbox */
.modal .mfa-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

/* Save Button */
.modal button {
    width: 100%;
    background: #007bff;
    color: white;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.modal button:hover {
    background: #0056b3;
}

/* Responsive */
@media (max-width: 600px) {
    .modal .form-group {
        flex-direction: column;
    }

    .modal .form-group input {
        width: 100%;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
