/*-----------------*/
/*-----GENERAL-----*/
/*-----------------*/

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-rendering: optimizeLegibility;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.clearfix { 
    zoom: 1; 
}

.clearfix:after {
    content: '.';
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

/*--------------------*/
/*-----NAVIGATION-----*/
/*--------------------*/

/*---------------------*/
/*-----BACKGROUNDS-----*/
/*---------------------*/

.bg-paper {
    background-color: #fcf9f1;
}

.bg-paper-table {
    background-color: #fcf9f1!important;
}

/*------------------*/
/*-----HEADINGS-----*/
/*------------------*/

h1, h2, h3, h4 { 
    font-weight: 700; 
}

h1 {
    font-size: 2rem;
}


/*------------------*/
/*-----TIMELINE-----*/
/*------------------*/

.activities, 
.activity-item {
    list-style: none;
    padding: 0;
}

.activities {
    border-radius: 12px;
    position: relative;
}
    
.activity-item {
    padding-bottom: 1.5rem;
    border-left: 1px solid rgba(0,0,0,.1);
    position: relative;
    padding-left: 20px;
    margin-left: 10px;
}
    
.activity-item:last-child {
    padding-bottom: 0;
}
    
.activity-item:before {
    content: '';
    width: 15px;
    height: 15px;
    background: #ffffff;
    border: 1px solid #28a745;
    border-radius: 50%;
    box-shadow: 3px 3px 0px rgba(40, 167, 69, 0.40);
    position: absolute;
    left: -9px;
    top: 3px;
}

.date {
    color: #2a2839;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.activity {
    line-height: 1.5;
}
    
.activity-card > *:last-child {
    display: none;
}

/*-----------------------*/
/*---------OTHER---------*/
/*-----------------------*/

.form_label, 
.form_field { 
    opacity: 0; 
    position: absolute; 
    top: 0; 
    left: 0; 
    height: 0; 
    width: 0; 
    z-index: -1; 
}

.personal-best {
    position: relative;
    padding: 5px;
    color: black;
}
.personal-best .bar {
    height: 90%;
    background-color: lightsteelblue;
    position: absolute;
    top: 5%;
    opacity: 50%;
    left: 0;
    z-index: 1;
}

.fitboyz-logo {
    width: 100%;
    max-width: 200px;
}

.inner-container {
    width: 100%; 
    max-width: 500px; 
}

.card,
.btn,
.form-control,
.form-select,
.custom-select {
    border-radius: 0px!important;
}

th {
    font-weight: normal;
}

.gold {
    color: #c9b037;
}

.bg-gold {
    background-color: #c9b037!important;
}

.silver {
    color: #b4b4b4;
}

.bg-silver {
    background-color: #b4b4b4!important;
}

.bronze {
    color: #ad8a56;
}

.bg-bronze {
    background-color: #ad8a56!important;
}

.form_label, 
.form_field { 
    opacity: 0; 
    position: absolute; 
    top: 0; 
    left: 0; 
    height: 0; 
    width: 0; 
    z-index: -1; 
}

.arnold-signature-container {
    /* KEY CHANGE: This aligns the inline content (the image) to the right */
    text-align: right; 
    
    padding-top: 15px;
    border-top: 1px solid #eee; 
    margin-top: 15px;
}
.arnold-signature {
    /* Keep the sizing properties as they ensure consistency */
    height: 180px; 
    width: auto; 
    max-width: 100%; 
    border-radius: 8px;
    object-fit: contain; 
}

.gif-width {
    width: 100%;
}

.juggling-img {
    max-height: 18px; 
    height: auto; 
    padding-bottom: 3px;
    transition: filter 0.3s ease;
}

#jugglingModalButton:hover .juggling-img {
    filter: invert(1);
}

/*----------------*/
/*-----TOASTS-----*/
/*----------------*/

.toast-success {
    background: #d4edda;
    color: #155724;
}

.toast-error {
    background: #f8d7da;
    color: #721c24;
}

/*---------------------*/
/*-----BREAKPOINTS-----*/
/*---------------------*/

@media (min-width: 767px) {
    .gif-width {
        max-width: 300px;
    }
}