﻿body {
    margin-top: 20px;
}

.page-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.sidebar {
  flex: 0 0 250px;        
  margin: 0;            
  padding: 0;
}

.sidebar .list-group {
  background-color: #f9f9f9;   
  border: 1px solid #ddd;
  border-radius: 0.8rem;
  padding: 0;
  margin: 0;              
  height: 100%;
}

.sidebar .list-group-item {
  background-color: transparent;                    
  padding: 1rem 1.5rem;
  font-weight: 500;
  color: #333;
}


.main-content {
  flex: 1;                
  margin: 0;              
}

.page-layout .main-content {
  flex: 1;  
  min-width: 0; 
}

.main-content .panel {
  margin: 0;             
}

.panel {
  border: 1px solid #ddd;
  border-radius: 0.8rem;
  background-color: #f9f9f9;
}

.panel-body {
  padding: 2rem;
}

.panel.charts, .panel.debug {
    margin: 15px;
}

.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 18px;
    color: inherit;
}

#shaka-player .form-horizontal {
    margin-top: 20px;
} 

.licenseInputs {
    width: 80%;
    float: left;
}

.licenseInputs.sm {
    width: 20%;
}

button#dash-open-player,
button#hls-open-player,
button#open-player {
    margin-top: 10px;
}

.notice {
    font-weight: normal; 
    font-size: 10px;
}

.buttons .form-control {
    border: none;
    box-shadow: none;
    padding: 0;
}

#videoContainer {
  width: 100%;
  max-width: 800px;
  margin: 2rem auto;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  overflow: hidden;
}

#video {
  width: 100%;
  height: auto;
  display: block;
}

.nav-tabs {
    border: 0;
}

#akamai-page textarea {
    min-height: 140px;
    height: 540px;
    resize: vertical;
    white-space: nowrap;
    scrollbar-width: thin;
    scrollbar-color: transparent;
    font-size: 13px !important;
    font-family: monospace;
    line-height: 1.1 !important;
    color: black !important;
    white-space: pre;
}

#akamai-page .textarea-validation {
    background-color: #ffb6c15e;
}

#akamai-page .error-message {
    color: indianred;
    font-size: 12px;
    min-height: 14px;
    display: block;
}

#akamai-page .sample-json {
    float: right;
    cursor: pointer;
    color: #337ab7;
    text-decoration: none;
}

#akamai-page .akamai-video-player-wrapper {
    margin-top: 10px;
    margin-bottom: 10px;
}

#akamai-page .akamai-video-player-wrapper,
#akamai-page .akamai-video-player-wrapper > div {
        min-height: 500px;
    }

#akamai-page .error-placeholder {
    margin-bottom: 10px;
    width: calc(100% - 28px);
    margin-left: 14px;
}

#akamai-page .error-placeholder-error {
    width: 95%;
    display: inline-block;
}

#dash-player {
  margin-top: 2rem;
}

.dash-video-player {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: black;
  border-radius: 6px;
  overflow: hidden;
  display: inline-block;
}

.dash-video-player video {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

#videoController.video-controller {
  position: relative;
  width: 900px;  
  background: rgba(0, 0, 0, 0.85);
  border: none;
  margin: 0;
  padding: 6px 10px;
  box-sizing: border-box;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

#videoController .time-display,
#videoController .duration-display {
  color: #fff;
  font-family: monospace;
  margin: 0 5px;
  font-size: 13px;
}

#videoController .seekContainer {
  flex: 1;
  margin: 0 8px;
}

#videoController .seekbar {
  width: 100%;
}

#volumebar {
  max-width: 100px;
}


