@import url('https://fonts.googleapis.com/css?family=Roboto:300');

/* General Table */
td {
    text-align: center;
}

/* Login Page */
.login-page {
    width: 360px;
    padding: 8% 0 0;
    margin: auto;
}

.form {
    position: relative;
    z-index: 1;
    background: #fff;
    max-width: 360px;
    margin: 0 auto 100px;
    padding: 45px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.2), 0 5px 5px rgba(0,0,0,0.24);
}

.form input {
    font-family: "Roboto", sans-serif;
    outline: 0;
    background: #f2f2f2;
    width: 100%;
    border: 0;
    margin: 0 0 15px;
    padding: 15px;
    box-sizing: border-box;
    font-size: 14px;
}

.form button {
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    outline: 0;
    background: #0078d4;
    width: 100%;
    border: 0;
    padding: 15px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.form button:hover,
.form button:active,
.form button:focus {
    background: #0169b9;
}

.form .message {
    margin: 15px 0 0;
    color: #b3b3b3;
    font-size: 12px;
}

.form .message a {
    color: #0078d4;
    text-decoration: none;
}

.form .register-form {
    display: none;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 300px;
    margin: 0 auto;
}

.container:before,
.container:after {
    content: "";
    display: block;
    clear: both;
}

.container .info {
    margin: 50px auto;
    text-align: center;
}

.container .info h1 {
    margin: 0 0 15px;
    font-size: 36px;
    font-weight: 300;
    color: #1a1a1a;
}

.container .info span {
    color: #4d4d4d;
    font-size: 12px;
}

.container .info span a {
    color: #000;
    text-decoration: none;
}

body {
    background: #fff;
    font-family: "Roboto", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Licensed Users Modal */
#licensedUsers .modal-content {
    border-radius: 0;
    border: 1px solid #ddd;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    background-color: #fff;
}

#licensedUsers .modal-header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 15px 20px;
}

#licensedUsersModalHeader {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

#licensedUsers .modal-body {
    padding: 0;
}

#licensedUsers .modal-body .row {
    min-height: 450px;
    margin: 0;
}

/* Left Panel */
#licensedUsers .col-md-5.border-end {
    padding: 20px;
    border-right: 1px solid #ddd !important;
    background-color: #fff;
}

/* Search Input */
#userSearch {
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    padding: 8px 12px;
    margin-bottom: 15px;
    width: 100%;
}

#userSearch:focus {
    border-color: #0078d4;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,120,212,0.1);
}

/* User List */
#licensedUsersList {
    max-height: 380px;
    overflow-y: auto;
    border: none;
}

#licensedUsersList .list-group-item {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    margin: 0;
    background-color: transparent;
    cursor: pointer;
    color: #333;
    font-size: 14px;
}

#licensedUsersList .list-group-item:hover {
    background-color: #f5f5f5;
}

#licensedUsersList .list-group-item.active {
    background-color: #e8f4ff;
    border-left: 4px solid #0078d4;
    color: #000;
    font-weight: normal;
    padding-left: 10px;
    margin-left: -10px;
}


#licensedUsersList::-webkit-scrollbar {
    width: 6px;
}

#licensedUsersList::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#licensedUsersList::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

/* Right Panel */
#userDetailsContainer {
    padding: 20px;
    background-color: #fafafa;
}

.userdetailcard {
    background-color: #fff;
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 20px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
}

.close-btn:hover {
    color: #333;
}

.section h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: normal;
}

.perm-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.perm-row label {
    color: #333;
    font-size: 14px;
}

.perm-row span {
    color: #666;
    font-size: 14px;
}

.perm-row select.dropdown {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 14px;
    background-color: #fff;
}

/* Modal Footer */
#licensedUsers .modal-footer {
    background-color: #fff;
    border-top: 1px solid #ddd;
    padding: 15px 20px;
}

#licensedUsers .modal-footer .btn {
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 4px;
    font-weight: normal;
}

#licensedUsers .modal-footer .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

#licensedUsers .modal-footer .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}


#licenseTable {
    font-size: 13px; 
    width: 100%;
    border-collapse: collapse;
}

#licenseTable th,
#licenseTable td {
    padding: 6px 8px;
    text-align: center;
    border-bottom: 1px solid #e1e1e1;
}

#licenseTable th {
    font-weight: 500;
    position: relative;
    vertical-align: middle;
    padding-right: 20px;
}

#licenseTable th.sorting:after,
#licenseTable th.sorting_asc:after,
#licenseTable th.sorting_desc:after {
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

#licenseModal .modal-content {
    font-size: 15px;
    padding: 15px;
}

#licenseModal label {
    font-size: 13px;
}

#licenseModal input,
#licenseModal select,
#licenseModal span {
    font-size: 14px;
    padding: 6px 8px;
}

#licenseModal .modal-footer .btn {
    font-size: 12px;
    padding: 6px 10px;
}

#licenseModal .used-total-span {
    font-size: 11px;
    font-weight: bold;
    margin-right: 5px;
}

#licenseModal .row {
    margin-bottom: 12px;
}

.license-helper-text {
    font-size: 12px;
    margin: 2px 0 0 0;
    color: #6c757d;
}
