/*
 Theme Name:   Akari HR Training
 Theme URI:    https://akari.com/akari-hr-training
 Description:  Child theme for Kadence, customized for HR Training
 Author:       Cliff Evance
 Author URI:   https://cliffevance.com
 Template:     kadence
 Version:      1.0.0
 Text Domain:  akari-hr-training
*/

/* Import parent theme styles */
@import url("../kadence/style.css");

/* Add your custom CSS below */
.entry.single-entry {
    box-shadow: none;
}
button#hrProfileBtn:hover {
    background: #000;
}
div#hrProfileDropdown a:hover {
    background: #000;
    color: #fff !important;
}
nav button.hr-tab-btn:hover {
    background: #000 !important;
    color: #fff !important;
	    width: 100%;
}

nav button.hr-tab-btn {
    background: transparent !important;
    color: #fff !important;
	    width: 100%;
}
button.hr-tab-btn.active {
    background: #000 !important;
    width: 100%;
}
    .hr-tab-btn {
        background: transparent;
        color: #fff;
        border: none;
        padding: 10px;
        border-radius: 5px;
        text-align: left;
        cursor: pointer;
        font-weight: bold;
        transition: background 0.3s ease, color 0.3s ease;
    }
    .hr-tab-btn:hover,
    .hr-tab-btn.active {
        background: #000;
        color: #fff;
    }


.video-wrapper {
    width: 200px;       /* desired square size */
    height: 200px;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 8px;
}
video.no-skip {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
div#uploaded-videos tr th {
    text-align: center;
    background: #ff0a9a !important;
    color: #fff;
}
div#uploaded-videos td {
    text-align: center;
}
form#hr-edit-video-form select {
    width: 100%;
    margin-bottom: 10px;
}

form#hr-edit-video-form input {
    width: 100%;
    margin-bottom: 10px;
}

/* --- DataTable Styling Overrides --- */
.dataTables_wrapper {
    margin-top: 20px;
}
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 6px 10px;
    margin-left: 8px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 4px 8px;
    border-radius: 6px;
    background: #f2f2f2;
    margin: 2px;
    border: 1px solid #ddd;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #ff0a9a !important;
    color: #fff !important;
    border: 1px solid #ff0a9a;
}

/* --- HR Dashboard Table Styling --- */
#applicant-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
    background: #fff;
    margin-top: 30px !important;
    display: inline-table;
    overflow: hidden;
 
}
 
#applicant-table thead tr {
    background: linear-gradient(90deg, #ff0a9a, #fe0eaa);
    color: #fff;
    text-align: left;
    font-weight: 600;
}

#applicant-table thead th {
    padding: 12px 15px;
    border-bottom: none;
    font-size:16px ;
    background: #ff0a9a;
}
table#archive-table th {
    padding: 12px 15px;
    border-bottom: none;
    font-size: 16px;
    background: #ff0a9a !important;
    color: #fff;
}
.dataTables_wrapper .dataTables_length select {
 
    padding: 4px 18px !important;
}

select#status-filter {
    padding: 4px 28px !important;
}
select#tag-filter {
    padding: 4px 28px !important;
}


#applicant-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

#applicant-table tbody tr:nth-child(even) {
    background: #fafafa;
}

#applicant-table tbody tr:hover {
    background: #ffe1f0;
}

#applicant-table tbody td {
    padding: 12px 15px;
    vertical-align: middle;
    border: none;
}

.video-progress-cell {
    min-width: 120px;
    text-align: center;
    font-weight: 500;
    color: #555;
}

.action-btn {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 0px;
    border: none;
    margin-bottom: 10px;
    max-width: 72px;
    width: 100%;

}

.btn-edit {
    background: #0073aa;
    color: #fff;
}

.btn-edit:hover {
    background: #005f87;
}

.btn-archive {
    background: #dc3545;
    color: #fff;
}

.btn-archive:hover {
    background: #a71d2a;
}

/* Responsive */
@media screen and (max-width: 768px) {
    #applicant-table thead {
        display: none;
    }
    #applicant-table tbody td {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: right;
        padding-left: 50%;
        position: relative;
    }
    #applicant-table tbody td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 45%;
        text-align: left;
        font-weight: 600;
    }
    .action-btn {
        margin-top: 6px;
    }
}
