.page-header{
  margin-top: 10px;
  font-size: 20px;

}
.ad-image-checkbox{
    max-width: 100px;
    max-height: 100px;
    vertical-align: text-top !important;
    text-align: right;
}
.file_size{
    font-size: 12px;
    color: blueviolet;
}
.total-stats{
    margin-top: 20px;
    width: 100%;
}
.impressions{


}

.clicks{

}
/* Start of toggle styling for bootstrap */
/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

/* Shared utility for action buttons that may wrap onto multiple lines */
.action-button-spacing {
    margin: 0 4px 4px 0;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
.toggle.ios, .toggle-on.ios, .toggle-off.ios { border-radius: 15px; }
.toggle.ios .toggle-handle { border-radius: 15px; }

/* # end of toggle styling for bootstrap */



/* Map Update Radial Progress Bar */
:root {
    --map-radial-progress-bar-width: 55px;
    --map-radial-progress-bar-height: 55px;
}

.map-radial-progress-bar-container{
    position: absolute;
    z-index: 50;
    background-color: transparent;
    right: 3px;
    top: 3px;
}

.map-radial-progress-bar {
    width: var(--map-radial-progress-bar-width);
    height: var(--map-radial-progress-bar-height);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.map-radial-progress-bar .inner-circle {
    position: absolute;
    width: calc(var(--map-radial-progress-bar-width) - 20px);
    height: calc(var(--map-radial-progress-bar-height) - 20px);
    border-radius: 50%;
    background-color: lightgrey;
}

.map-radial-progress-bar .percentage {
    position: relative;
    font-size: 2rem;
    color: rgb(0, 0, 0, 0.8);
}


/* Flex not supported by Bootstrap  */
.flex{
    display:flex;
}

.flex-col{
    flex-direction: column;
}

.gap-8{
    gap: 8px;
}

/* ==========================================================================
    Table Badge System - Reusable outlined badges for data display
   ========================================================================== */

/* Base badge styles */
.badge-outline {
    display: inline-block;
    padding: 3px 8px;
    border: 1px solid;
    border-radius: 4px;
    font-size: 11px;
    min-width: 18px;
    text-align: center;
    background-color: transparent;
}

/* Color variants - Border and Text Colors */
.badge-outline-info {
    border-color: #5bc0de;
    color: #31708f;
}

.badge-outline-success {
    border-color: #5cb85c;
    color: #3c763d;
}

.badge-outline-default {
    border-color: #777;
    color: #333;
}

.badge-outline-primary {
    border-color: #337ab7;
    color: #337ab7;
}

.badge-outline-warning {
    border-color: #f0ad4e;
    color: #8a6d3b;
}

.badge-outline-danger {
    border-color: #d9534f;
    color: #a94442;
}

/* Font weight variants */
.badge-outline-bold {
    font-weight: bold;
}

.badge-outline-normal {
    font-weight: normal;
}

/* Size variants */
.badge-outline-small {
    font-size: 10px;
    padding: 2px 5px;
    min-width: 14px;
}

/* Specialized badge styles for advertisement features */
.badge-outline-purple {
    border-color: #8e44ad;
    color: #6c3483;
}

.badge-outline-orange {
    border-color: #e67e22;
    color: #d35400;
}

.badge-outline-teal {
    border-color: #1abc9c;
    color: #16a085;
}

/* Advertisement property badges */
.badge-outline-dayparting {
    border-color: #17a2b8;
    color: #0c5460;
}

.badge-outline-geotargeting {
    border-color: #fd7e14;
    color: #b45309;
}

.badge-outline-archived {
    border-color: #6c757d;
    color: #495057;
}

.badge-outline-html {
    border-color: #6f42c1;
    color: #432874;
}

/* ==========================================================================
   Advertisement View Specific Styles
   ========================================================================== */

/* Creative asset styling */
.creative-embed {
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Tag list styling */
.tag-list .label {
    margin-bottom: 5px;
    margin-right: 5px;
}

/* File details styling */
.file-details {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 10px;
    margin-top: 10px;
}

/* Geofencing badge styling */
.geofencing-info {
    margin-top: 5px;
}

/* Creative panel styling */
.creative-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

/* ==========================================================================
   Checkbox Styling - Consolidated from custom.css
   ========================================================================== */

/* Checkbox styling */
.checkbox {
    margin-top: 0;
    margin-bottom: 0;
}

.checkbox input[type="checkbox"] {
    margin-left: 0;
    position: relative;
    margin-right: 5px;
}

.checkbox label {
    padding-left: 0;
    font-weight: normal;
}

.checkbox-inline {
    margin-left: 0 !important;
    margin-right: 10px;
    padding-left: 0;
}

/* ==========================================================================
   Video Controls - Global video play button system
   ========================================================================== */

/* Container for video with custom controls */
.video-container {
    position: relative;
    display: inline-block;
}

/* Universal video play button */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.video-play-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.video-play-button i {
    color: white;
    font-size: 12px;
    margin-left: 1px; /* Slight offset for play icon optical alignment */
}

/* Video elements with custom controls */
video[data-custom-controls] {
    cursor: pointer;
    outline: none;
    border: none;
}

/* Hide native controls completely */
video[data-custom-controls]::-webkit-media-controls {
    display: none !important;
}

video[data-custom-controls]::-webkit-media-controls-panel {
    display: none !important;
}

video[data-custom-controls]::-webkit-media-controls-play-button {
    display: none !important;
}

video[data-custom-controls]::-webkit-media-controls-start-playback-button {
    display: none !important;
}

/* ==========================================================================
   Timeline Preview Cards - Reusable preview step display
   ========================================================================== */

.preview-step-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-left: 4px solid #5bc0de;
    border-radius: 4px;
    margin-bottom: 15px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.preview-step-header {
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-step-number {
    font-weight: bold;
    color: #337ab7;
    font-size: 14px;
}

.preview-step-datetime {
    color: #666;
    font-size: 13px;
}

.preview-step-datetime i {
    margin-right: 4px;
}

.preview-step-body {
    padding: 12px 15px;
}

.preview-row {
    display: flex;
    margin-bottom: 8px;
    align-items: flex-start;
}

.preview-row:last-child {
    margin-bottom: 0;
}

.preview-label {
    font-weight: 600;
    color: #555;
    min-width: 140px;
    flex-shrink: 0;
    font-size: 13px;
}

.preview-value {
    color: #333;
    flex: 1;
    font-size: 13px;
}

.preview-summary {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

.preview-summary-total {
    padding: 10px 15px;
    margin-top: 10px;
    text-align: right;
}

.preview-entity-toggle {
    margin-left: 5px;
}

.preview-entity-details {
    overflow: hidden;
}

.preview-entity-details.collapsing {
    overflow: hidden;
}

/* ==========================================================================
   Step DateTime Badge - Reusable datetime display component
   ========================================================================== */

.step-datetime-badge {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    min-width: 200px;
    justify-content: center;
}

.step-datetime-badge i {
    color: #6c757d;
    font-size: 14px;
}

.datetime-text {
    font-weight: 600;
    color: #495057;
    font-size: 13px;
}

.time-text {
    font-weight: 700;
    color: #007bff;
    font-size: 14px;
    background: rgba(0, 123, 255, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 4px;
}
