﻿body {
    height: fit-content;
    display: flex;
    align-items: center;
    background-color: white;
}

/*.bg {
    position: relative;
    width: auto;
    display: none;
    z-index: auto;
}*/

.form-signin {
    width: 100%;
    margin: auto;
    margin-top:20px;
    background-color:white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px; 
    transition: all 0.3s ease; 
}

    .form-signin h6 {
        color:black;
        text-align: center;
        font-weight: 600; 
    }

    .form-signin .btn {
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
        color: #fff;
        margin: 10px, 10px, 10px, 10px;
        transition: all 0.3s ease;
        background-image: linear-gradient(180deg, #1a203d 0%, #283c86 100%);
    }

    .form-signin .form-control:focus {
        border-color: #ced4da;
        box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.2);
    }

    .form-signin .form-control {
        background: rgba(255, 255, 255, 0.9);
        border-radius: 4px;  consistent border-radius 
    }

    .form-signin .copyright {
        text-align: center;
        color: rgba(255, 255, 255, 0.65);
        font-size: 0.85em;  adjust font size for the copyright text 
    }

    .form-signin .form-check {
        display: inline-flex;
        align-items: center;
        color: rgba(255, 255, 255, 0.65);
    }

        .form-signin .form-check label {
            font-size: 0.9em;
            color: rgb(0, 0, 0);
        }
/**/
        .form-signin .form-check input {
            margin-right: 0.5em;
            transition: background-color 0.3s ease;  smoother transition 
        }

            .form-signin .form-check input:checked {
                background-color: #9ce060;
                border-color: #81c63f;
            }

    .form-signin input[type=email], .form-signin input[type=password] {
        border-radius: 4px;  consistent border-radius 
        margin-bottom: 10px;  added space between inputs 
    }
.modern-input {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.top-nav {
    display: flex;
    justify-content: space-between; /* This pushes children to the edges */
    align-items: center; /* Vertically centers the items */
    top: 0px;
    border-spacing: 5px;
    overflow: auto;
   
}

.right-items {
    display: flex;
    align-items: center;
    direction: rtl; /* Align items vertically in center */
}

    /* Optional: to give some spacing between right-aligned items */
    .right-items > * {
        margin-left: 5px;
    }

    .modern-input:focus {
    border-color: #ced4da;
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.2);
}
.navbar-toggler-icon {
    width: 30px;
    height: 30px;
    margin:10px;
}
.modern-checkbox {
    appearance: none;
    background: #9494d8;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s;
    width: 30px;
    height: 20px;
    cursor: pointer;
    position: fixed;
    /* margin-right: 5px;*/
    vertical-align: middle;
}
.captcha-bg {
    width: 150px; /* width of the image */
    height: 90px; /* height of the image */
    background-image: url('/Captcha');
    background-size: cover; /* or contain, depending on preference */
}
    .modern-checkbox:checked::before {
        content: '✔';
        position: absolute;
        top: 40%;
        left: 40%;
        transform: translate(-50%, -50%);
        font-weight: bold;
        color: #81c63f;
    }

    .modern-checkbox:checked {
        background-color: #9ce060;
        border-color: #81c63f;
    }


.modern-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #6b39ffff;
    transition: background 0.3s, transform 0.3s;
}

    .modern-btn:hover, .modern-btn:focus {
        background: #ac9bddff;
        transform: scale(1.05);
        box-shadow: none;
    }
.form-field {
    margin-bottom: 15px;
}
.captcha-container {
    width: auto;
    margin: 0 auto;
    display:inline;
}

.refresh-button {
    content: 🔄;
    background-color: #9494d800;
    border: hidden;
    cursor: pointer;
}

.user-input {
    width: auto;
    height: 30px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.check-button {
    content:✅;
    background-color: #8dae7b00;
    border:hidden;
    cursor: pointer;
}

.message {
    font-size:small;
}
.tabdiv {
    width: 100%;
}
.responsive-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0px;
    margin: 0px;
    direction: rtl;
    transform-style: preserve-3d;
    background-color: #cfe2ffff;
    table-layout: fixed;
    white-space: nowrap;
    height: 100%;
    font-size: small;
}

    .responsive-table th, .responsive-table td {
        border: 1px solid white;
        padding: 3px 3px;
        text-align: center;
        font-size: small;
    }

    .responsive-table th {
        background-color: lightgray;
    }
    .responsive-table td {
    
        overflow: hidden;
        text-overflow: ellipsis;
        
    }
    .responsive-table tbody tr:nth-child(even) {
        transform-style: preserve-3d;
        background-color: #c9deffff;
    }

@media screen and (max-width: 768px) {
    .responsive-table {
        display: inherit;
        width: 100%;
    }
}
.ptooltip {
    position: fixed;
    max-width: 200px;
    white-space: normal;
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 1000;
  direction:rtl
}
.advanced-readable-tr {
    background-color: #f9f9f9; /* Very light gray for a subtle look */
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    font-size:large;
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

    .advanced-readable-tr:hover {
        background-color: #e0e0e0; /* Darker shade on hover for interactive feedback */
    }
.stack-panel {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Adjust the space between items */
}
    