﻿body{
    background-color:#18181b;
}


*{
    font-family:"Poppins", sans-serif;
    font-weight:bold;
    color:white;
}
.topNav{
    margin-left:3vw;
    margin-top:3vh;
    
}

/*
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 20px;
}
*/
.workout-box {
   
    max-width: 40vw;
    margin:auto;
    margin-top:20px;
    padding: 16px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    border: 1px solid #ddd;
}





.workout-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

    .workout-header img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        margin-right: 12px;
    }

    .workout-header h2 {
        margin: 0;
        color:black;
        font-size: 18px;
    }


    .workout-box *{
        color:black;
    }

    .workout-header p {
        margin: 4px 0 0;
        font-size: 14px;
        color: #666;
    }

.workout-title {
    font-size: 20px;
    font-weight: bold;
    margin: 16px 0;
}

.workout-stats {
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin-top: 8px;
}

    .workout-stats div {
        flex: 1;
    }

        .workout-stats div:not(:last-child) {
            border-right: 1px solid #ddd;
        }

    .workout-stats p {
        margin: 4px 0;
    }

    .workout-stats .value {
        font-size: 18px;
        font-weight: bold;
        color: #333;
    }

.workout-map {
    margin-top: 16px;
    height: 200px;
    background-color: #eaeaea;
    border-radius: 8px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}


select{
    border-radius:10px;
}

option {
    background-color: rgba(255,255,255,0.13);
}


form  {
    position:relative;
   
    height:fit-content;
    width: fit-content;
    background-color: rgba(255,255,255,0.13);
    position: absolute;
    transform: translate(-50%,-50%);
    top: 80%;
    left: 50%;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 40px rgba(8,7,16,0.6);
    padding:  5vw; 20vh;
}

 

    form * {
       

        font-family: 'Poppins',sans-serif;
        color: #ffffff;
        letter-spacing: 0.5px;
        outline: none;
        border: none;
    }
    h3{
        color:white;
    }
    form h3 {
        font-size: 32px;
        font-weight: 500;
       
        text-align: center;
    }

label {
    display: block;
    margin-top: 30px;
    font-size: 16px;
    font-weight: 500;
}

input {
   
    height: 50px;
    width: 100%;
    background-color: rgba(255,255,255,0.07);
    border-radius: 3px;
    padding: 0 10px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 300;
}

::placeholder {
    color: #e5e5e5;
}
img {
    background: transparent;
}
 #formButton{
    margin-top: 50px;
    width: 100%;
    background-color: #ffffff;
    color: #080710;
    padding: 15px 0;
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
}



.topNavItem {
    display: inline;
 


}

    .topNavItem a {
        padding: 1vw;
        position: relative;
        bottom:20px;
    }
    
   #logo:hover ,{
       transform:scale(1.1);
   }


a {
    text-decoration: none;
    color: white;
    font-size:2vw;
   
}

.workout-box a {
    text-decoration:underline;


}


.workoutBtns a {
    font-size:0.5em;
    color: black;
}    

fieldset{
    width:fit-content;
    border-radius:10px;
}

.workoutBtns {
    width: fit-content;
    height: fit-content;
    background-color: #2f4657;
    font-size:0.5em;
    color:black;
    
}




textarea {
    background-color: rgba(255,255,255,0.07);
}

button {

color:black;
}


.paceInput{
    width:60px;
}

.interval{
    padding:35px;;
  
    border:1px solid white;
}

option, select {
    color: black;
    background-color: rgba(255,255,255,0.07);
}
error{
    color:red;
    font-size:2vw;
}



/* Workout Map */
.map-container {
    width: 20%;
    height: 20%;
}

.map {
   
    width:40vw;
    height:40vh;
}



.leaflet-control-attribution{
    display:none
}


#logoutBtn{
    background-color:#18181b;
    border:none;

}

    #logoutBtn:hover{
        cursor: pointer;
        transform: scale(1.5);
        transition-duration: 1.1s;
    }

.topNavItem a:hover {
    color: #bbc1c9;
   
    
}


/* General styling for the date input */
input[type="date"] {
    padding: 12px 20px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    width: 250px;
    background-color: #747478;
    color: #333;
    font-family: 'Arial', sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

    /* Subtle gradient background */
    input[type="date"]:hover {
        background: linear-gradient(to right, #f4f7fb, #e7efff);
    }

    /* Styling when the input is focused */
    input[type="date"]:focus {
        border-color: #5a9bff;
        background-color: #fff;
        outline: none;
        box-shadow: 0 0 10px rgba(90, 155, 255, 0.3);
    }

    /* Custom style for the calendar picker button */
    input[type="date"]::-webkit-calendar-picker-indicator {
        background-color: #5a9bff;
        color: white;
        border-radius: 50%;
        padding: 6px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        input[type="date"]::-webkit-calendar-picker-indicator:hover {
            background-color: #357ab7;
        }

    /* For Firefox support (if needed) */
    input[type="date"]::-moz-calendar-picker-indicator {
        background-color: #5a9bff;
        border-radius: 50%;
        color: white;
        padding: 6px;
    }



button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

    button:hover {
        background: linear-gradient(135deg, #ff5252, #ff3b3b);
        box-shadow: 0 6px 15px rgba(255, 82, 82, 0.5);
        transform: translateY(-2px);
    }

    button:active {
        transform: translateY(1px);
        box-shadow: 0 2px 5px rgba(255, 82, 82, 0.4);
    }

.athleteName {
    font-size: 2vw;
}



#profilePic{
    border-radius:50%;
    position:relative;
    top:18px;
    border:3px solid white;
    width:60px;
    height:60px;
}


#profilePic:hover{
    transform:scale(1.5);
    transition-duration:1.5s;
}

.myAthletesProfilePic {
    width: 1.5vw;
    height: 1.5vw;
    border-radius: 100%;
}

