:root {
    --primary: #4da6ff;
    --primary-dark: #1a8cff;
    --secondary: #888;
    --secondary-dark: #666;
    --success: #5cd65c;
    --success-dark: #2eb82e;
    --warning: #ffcc66;
    --warning-dark: #ffb31a;
    --danger: #ff5c33;
    --danger-dark: #ff3300;
    --info: #bf80ff;
    --info-dark: #a64dff;
    --black: #222;
}

:focus {
    outline: 0 !important;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;
}

.main-container {
    padding: 20px;
}

.main-container .users-card-box {
    position: relative;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.15);
}

.main-container .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

/* Buttons */

button {
    border: none;
    text-decoration: none;
    cursor: pointer;
    font-size: 16px;
    /* padding: 7px 10px; */
    background: transparent;
}

.btn-primary {
    position: relative;
    padding: 5px 10px;    
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transition: 0.3s;
}

.btn-secondary {
    position: relative;
    padding: 5px 10px;    
    background: var(--secondary);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    color: var(--white);
    transition: 0.3s;
}

.btn-success {
    position: relative;
    padding: 5px 10px;    
    background: var(--success);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
}

.btn-success:hover {
    background: var(--success-dark);
    color: var(--white);    
    transition: 0.3s;
}

.btn-warning {
    position: relative;
    padding: 5px 10px;    
    background: var(--warning);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
}

.btn-warning:hover {
    background: var(--warning-dark);
    color: var(--white);
    transition: 0.3s;
}

.btn-danger {
    position: relative;
    padding: 5px 10px;    
    background: var(--danger);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
}

.btn-danger:hover {
    background: var(--danger-dark);
    color: var(--white);    
    transition: 0.3s;
}

.btn-info {
    position: relative;
    padding: 5px 10px;    
    background: var(--info);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
}

.btn-info:hover {
    background: var(--info-dark);
    color: var(--white);
    transition: 0.3s;
}

.btn-startpage {
    border: none;
    background-color: #ff7e00;
    color: #fff;
    padding: 10px 30px;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-startpage:hover {
    background-color: #e67300;
    color: var(--white);
}

.btn-success.big-btn {
    padding: 7px 20px !important;
    font-size: 18px !important;
}

/* Users table */
#users-table {
    border-collapse: collapse;
    width: 100%;
}

#users-table tr.table-head {
    border: 1px solid var(--gray-light);    
}

#users-table tr.table-head th {
    padding: 10px;
    text-align: left;
    background: var(--gray-light);
    color: var(--white);
    border-right: 1px solid #e5e5e5;
}

#users-table tr.table-head th:last-child {    
    border-right: 1px solid var(--gray-light);
}

#users-table td {
    border: 1px solid #e5e5e5;
    padding: 10px;
}

#users-table tr:nth-child(even) {
    background: #f2f2f2;
}

/* Icon Buttons */
.preview-icon {
    font-size: 20px;
    padding: 0 5px;
    color: var(--secondary) !important;
    background: transparent;
}

.preview-icon:hover {    
    color: var(--secondary-dark) !important;
}

.download-icon {
    font-size: 20px;
    padding: 0 5px;
    color: var(--success) !important;
    background: transparent;
}

.download-icon:hover {    
    color: var(--success-dark) !important;
}

.edit-icon {
    font-size: 20px;
    padding: 0 5px;
    color: var(--primary) !important;
    background: transparent;
}

.edit-icon:hover {    
    color: var(--primary-dark) !important;
}

.delete-icon {
    font-size: 20px;
    padding: 0 5px;
    color: var(--danger) !important;
    cursor: pointer;
    background: transparent;
}

.delete-icon:hover {
    color: var(--danger-dark) !important;
}

.delete-icon-btn {
    border: none;
    background: transparent;
}

/* User Forms */
.form .input-field {
    position: relative;
    height: 50px;
    width: 100%;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;    
}

.input-field input {
    position: absolute;
    height: 100%;
    width: 100%;
    padding: 0 35px;
    border: none;
    outline: none;
    font-size: 16px;
    border-bottom: 2px solid #ccc;
    border-top: 2px solid transparent;
    transition: all 0.2s ease;
}

.input-field input:is(:focus, :valid) {    
    border-bottom: 2px solid #ff7e00;
}

.input-field i {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: #999;
    font-size: 20px;
}

.input-field input:is(:focus, :valid) ~ i {    
    color: #ff7e00;
}

.input-field i.icon {
    left: 0;
}

.input-field i.showHidePass {
    left: auto;
    right: 0;
    cursor: pointer;
    padding: 10px;
}

/* Input file */
input[type="file"] {
    display: none;
}

.input-file {
    position: relative;
    margin-top: 30px 0;
}

.input-file label {
    color: var(--gray-dark);
    height: 46px;
    width: 220px;
    background: var(--gray);
    position: relative;
    margin: 30px 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 14px;    
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.input-file label span {
    font-size: 22px;
    background: var(--gray-light);
    color: var(--white);
    padding: 6px 12px;
    margin-left: -10px;
    transition: 0.3s;
}

.input-file:hover label span {
    background: var(--orange);    
}

.input-file label .single-upload-icons {
    background: var(--secondary-dark);    
    padding: 8px 16px;
    margin-left: -82px;
    font-size: 20px;
    transition: 0.3s;
}

.input-file label .multiple-upload-icons {
    color: var(--white);
    background: var(--danger);
    padding: 13px;
    margin-left: -70px;
    font-size: 20px;
    transition: 0.3s;    
}

.input-file:hover label .single-upload-icons,
.input-file:hover label .multiple-upload-icons {
    background: var(--danger-dark);
}

.preview {
    min-height: 46px;
    max-width: 120px;
    min-width: 120px;
    background: var(--gray);
    float: right;
    margin: -76px 0px 30px 0;
}

.preview img {
    max-width: 118px;
}

.preview-media {
    position: relative;
    width: 100%;
    background: #ccc;
}

.preview-media img {
    width: 100%;
}

/* Show Media */
h5 a {
    text-decoration: none;
    color: var(--secondary-dark);
}

h5 a:hover {
    color: var(--orange);
}

/* Create two equal columns that floats next to each other */
.column {
    float: left;
    width: 50%;
    padding: 20px;
}

.column.submit {
    text-align: right;
}
  
/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        width: 100%;
    }
    .column:first-child {
        padding-bottom: 0;
    }
    .column:last-child {
        padding-top: 0;
    }
}