/* Base styling */
body {
  font-family: 'Nunito', sans-serif;
  color: rgb(49, 49, 49);
  background-color: #f5f7f8;
  margin: 0;
  text-align: center;
}

h1, h2, p {
  margin: 0;
  padding: 0;
}

h2 {
  margin: 16px 0;
  text-decoration: underline;
}

/* Header */
header{
    margin-bottom: 24px;
    border-bottom: 1px solid #ececec;
    background-color: white;
    /* position: fixed; */
    box-shadow: 0 2px 4px rgb(179, 179, 179);
}
header nav{
    display: flex;
    flex-direction: column;
    width: 100%;
    /* max-width: 400px; */
    margin: 0 auto;
    justify-content: space-between;
}
header img{
    width: 120px;
    height: auto;
    margin: 0 auto;
}

header ul{
    list-style: none;
    display:flex ;
    justify-content: space-between;
    width: fit-content;
    margin: 8px auto;
    padding: 0;
    
}
header ul li{
    margin: 4px;           
}
header ul li a{
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
    background-color: #060644;
    color: #f5f7f8;
    border-radius: 4px;
    padding: 8px 12px;
}

header ul li a:hover{
    background-color:#fb8b24 ;
}


/* Recordings container */
.recordings-container {
  background-color: white;
  max-width: 95%;
  margin: 24px auto;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.recordings-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recordings-container li {
  text-align: left;
  font-size: 10px;
  padding: 12px 8px;
  border-bottom: 1px solid #ccc;
  word-break: break-word;
}

.recordings-container li:last-child {
  border-bottom: none;
}
.pseudo-aircall-extension-button::after{
    display:none;
}
.filter-form input::placeholder {
    font-size: 16px;
  }

  .filter-form button {
    font-size: 16px;
  }
.recordings-container a {
  text-decoration: none;
  color: #060644;
  font-weight: bold;
}

/* Search + Filter form */
.filter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 95%;
  margin: 0 auto 1.5em auto;
}

.filter-form input {
  width: 100%;
  height: 40px;
  padding: 10px;
  font-size: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.filter-form input::placeholder {
  font-size: 10px;
}

/* {*/
/*  height: 50px;*/
/*  background-color: #060644;*/
/*  color: white;*/
/*  font-size: 14px;*/
/*  border: none;*/
/*  border-radius: 4px;*/
/*  cursor: pointer;*/
/*}*/

.filter-form button:hover {
  background-color: #fb8b24;
  border:none;
}

 /*Button Link (Logout) */
.button-link, .filter-form button{
  display: inline-block;
  background-color: #060644;
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  border:none;
}


.button-link:hover {
  background-color: #fb8b24;
}

.buttons{
    display:flex;
        width: fit-content;
    max-width: 500px;
    margin:0 auto;
    justify-content: space-between;
    align-items: center;
}

.buttons *{
    width:100px;
    margin:4px;
}
/*----------------------------------------------------- Media Queries for screens > 700px */
 
  @media(min-width:700px){
    header{
        margin-bottom: 36px;
        padding: 0 16px;
    }
    header nav{
    flex-direction: row;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}
header ul{
        margin: 0px;

}
header img{
    margin: 0;
}

  .recordings-container li {
    font-size: 16px;
  }

  .filter-form input {
    font-size: 16px;
    /*height: 70px;*/
  }

  .filter-form input::placeholder {
    font-size: 16px;
  }

  .filter-form button {
    font-size: 16px;
  }

  .recordings-container {
    max-width: 800px;
  }

  .filter-form {
    max-width: 600px;
  }
}



/*//login page*/

.login-container {
  background: white;
  max-width: 400px;
  margin: 60px auto;
  padding: 40px 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-radius: 10px;
  text-align: center;
}

.login-container h2 {
  margin-bottom: 24px;
  font-size: 20px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-form input {
  height: 50px;
  font-size: 16px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.login-form input::placeholder {
  font-size: 14px;
}

.login-form button {
  height: 50px;
  background-color: #060644;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-form button:hover {
  background-color: #fb8b24;
}


audio {
  width: 70%;
  max-width: 500px;
  margin: 16px 0;
}
.audio-controls{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

/* === KPI Dashboard Table === */
.kpi-dashboard {
  font-family: 'Nunito', sans-serif;
  background-color: #f5f7f8;
  text-align: center;
 
}

.kpi-dashboard h2 {
  margin: 20px 0;
}

.kpi-dashboard .filter-form {
  max-width: 500px;
  margin: 0 auto 20px;
  display: flex;
  gap: 10px;
  flex-direction: column;
}

@media (min-width: 700px) {
  .kpi-dashboard .filter-form {
    flex-direction: row;
  }
}

.kpi-dashboard .filter-form input,
.kpi-dashboard .filter-form button {
  padding: 10px;
  font-size: 14px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.kpi-dashboard table {
  width: 95%;
  max-width: 900px;
  margin: auto;
  border-collapse: collapse;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  color:white;
}

.kpi-dashboard th, .kpi-dashboard td {
  padding: 6px 10px;
  border-bottom: 1px solid #ccc;
  font-size: 14px;
  text-align: center;
    /*border-right: 1px solid gray;*/
    height: 40px;
    border: 1px solid white;
    font-size:22px;
}
.kpi-dashboard th{
    border:1px solid black;
}
.kpi-dashboard th {
  background-color: white;
  color: #060644;
  
}

/*.kpi-dashboard tr:hover {*/
/*  background-color: white;*/
/*  color:black;*/
/*}*/

.red-row {
  background-color: #c30000; /* light red */
  color:white;
  
}
.orange-row {
  background-color: #ee7400; /* light orange */
}
.green-row {
  background-color: #0cab00; /* light green */
}

.login-container select{
    height: 50px;
    font-size: 16px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    
}

