@font-face {
    font-family: hi5;
    src:url(../fonts/Al-Jazeera-Arabic-Regular.otf);
}


body{
    font-family: hi5 !important;
    direction: rtl;
    overflow-x: hidden;
    background: url(../images/bg.jpg);
    background-repeat:no-repeat ;
    background-size:cover;
    background-position:top;
    /*height: 100vh;*/

}
.main_color{
    color: #009078;
}
.font26{
    font-size: 26px;
}
.font16{
    font-size: 16px;
}
.details {
    font-size: 18px;
    color: #014948;
    font-weight: bold;
}
.second_color{
    color: #009078;
}
.form-group input,.form-group select,.form-group textarea{
    border-radius: 0;
    font-size: 14px;
    border-color: #ececec;;
}
body .select2-container--default .select2-selection--single {
     border-radius: 0 !important;
    font-size: 14px  !important;
    border-color: #ececec  !important;
    padding: 4px 0  !important;
    height: 40px  !important;
}
.form-control:focus{
    border-color: #f9f9f9 !important;
    box-shadow: 0 0 0 0.1rem rgb(83 119 119 / 10%) !important;
}
.main_btn{
    background: #009078;
    color: #fff;
    border-radius: 0;
    font-size: 14px;
    border-color: #009078;
}
.main_btn:hover{
    color:#009078;
    background: #fff;
    border-color:#009078
}

.number{
    display: inline-block;
    padding: 6px 10px;
    color: #f5f5f5;
    font-size: 18px;
    letter-spacing: 4px;
    background: #b78047;
    font-weight: 600;
}


.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

.panel .panel-heading {
    background: transparent;
    border-radius: 0px;
    border-bottom: 0px;
    padding: 8px 20px 8px 20px;
    position: relative;
    z-index: 3;
    min-height: auto;
}

.panel-default>.panel-heading {
    color: #fff;
    background-color: #009078;
    border-color: #ddd;
}

.panel .panel-heading .panel-title {
    text-transform: uppercase;
    display: inline-block;
    letter-spacing: 0.02em;
    font-size: 12px;
    font-weight: 600;
    font-size: 15px;
    margin: 0;
    padding: 0;
    line-height: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-text-stroke: 0px;
    filter: alpha(opacity = 40);
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.panel .panel-heading + .panel-body {
    height: calc(100% - 50px);
}

.panel .panel-body {
    padding: 20px;
    height: 100%;
    width: 100%;
}

.panel.panel-default {
    border: 1px solid rgba(0, 0, 0, 0.07);
}


.blink {
   animation: blinker 1s linear infinite;
}
  
@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* Additional styles for workshops page */

.panel.h-100 {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.panel.h-100 .panel-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.workshop-item {
    transition: transform 0.3s ease;
}

.workshop-item:hover {
    transform: translateY(-5px);
}

.ml-2 {
    margin-left: 8px;
}

.text-success {
    color: #28a745 !important;
}

.text-danger {
    color: #dc3545 !important;
}

/* Search input styling */
.search-workshop {
    border-radius: 25px;
    padding: 12px 20px;
    border: 2px solid #009078;
    font-size: 16px;
}

.search-workshop:focus {
    border-color: #007863 !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 144, 120, 0.15) !important;
}

/* Workshop card enhancement */
.panel-default {
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.panel-default:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #009078;
}

/* Button styling */
.btn-secondary {
    background: #6c757d;
    color: #fff;
    border-radius: 0;
    font-size: 14px;
    border-color: #6c757d;
}

.btn-secondary:hover {
    color: #6c757d;
    background: #fff;
    border-color: #6c757d;
}

/* Registration form specific */
.workshop-details .detail-row {
    border-bottom: 1px solid #f0f0f0;
    padding: 8px 0;
}

.workshop-details .detail-row:last-child {
    border-bottom: none;
}

/* Status badges */
.badge {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 3px;
    display: inline-block;
}

.badge-success {
    background-color: #28a745;
    color: white;
}

.badge-danger {
    background-color: #dc3545;
    color: white;
}

.badge-secondary {
    background-color: #6c757d;
    color: white;
}

/* Icon styling */
.fa {
    margin-left: 5px;
}

/* Pagination styling */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 20px 0;
}

.pagination li {
    margin: 0 5px;
}

.pagination li a,
.pagination li span {
    display: block;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #009078;
    color: #009078;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.pagination li.active span {
    background: #009078;
    color: #fff;
}

.pagination li a:hover {
    background: #009078;
    color: #fff;
}

.pagination li.disabled span {
    background: #f5f5f5;
    color: #999;
    border-color: #ddd;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .workshop-item {
        margin-bottom: 20px;
    }
    
    .panel-body {
        padding: 15px;
    }
    
    .details {
        font-size: 16px;
    }
    
    .font26 {
        font-size: 22px;
    }
}

/* Loading state */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    color: #bdc3c7;
}

/* Workshop info icons */
.details i {
    color: #009078;
    width: 20px;
    text-align: center;
}

/* Certificate badge animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.panel-default:hover .number {
    animation: pulse 1s infinite;
}