/* Navbar Styling */

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f8f9fa;
    transition: color 0.3s;
}

.navbar-container {
    max-width: 1300px; /* Adjust to your preferred max width */
    margin: 0 auto; /* Center the navbar */
    width: 100%; /* Ensure it takes full width up to the max-width */
}

.navbar-brand:hover {
    color: #adb5bd; /* Light gray on hover */
}

.nav-icons a {
    color: #f8f9fa;
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
}

.nav-icons a:hover {
    color: #adb5bd;
    transform: scale(1.2);
}

.nav-icons i {
    font-size: 26px;
    width: 26px;
    height: 26px;
}

/* Full-Page Sidebar Styling */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(52, 58, 64, 0.98); */
    background-color: rgba(33, 37, 41, 0.95); /* Dark gray with slight transparency */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1050; /* Above the main content */
}

.sidebar.show {
    transform: translateX(0);
}

.sidebar-link {
    color: #f8f9fa;
    font-size: 1.2rem;
    padding: 10px;
    margin-bottom: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #495057;
    transition: background-color 0.3s, color 0.3s;
}

.sidebar-link i {
    margin-right: 10px;
}

.sidebar-link:hover {
    background-color: #495057;
    color: #adb5bd;
}

.btn-close-white {
    position: absolute;
    top: 20px;
    right: 20px;
    filter: invert(1); /* Make the close button white */
    cursor: pointer;
}

.sidebar-title {
    font-size: 1.5rem;
    color: #f8f9fa;
    margin-bottom: 20px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
}

.sidebar-username {
    padding: 0px;
    color: #fff;
    font-size: 18px;
    /* font-weight: bold; */
    padding-bottom: 10px;
}

/* Video List Styles */
.country-flag {
    width: 30px;
    height: 20px;
    margin-top: 15px;
}

.athlete-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 20px;
    background-color: #fff;
    transition: background-color 0.3s, box-shadow 0.3s;
    text-decoration: none; /* Remove underline from links */
    color: inherit; /* Ensure text inherits color */
}

.athlete-section:hover {
    background-color: #f8f9fa; /* Light gray background on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow on hover */
}

.athlete-info {
    text-align: center;
    flex: 1;
}

.athlete-info img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.match-details {
    flex: 2;
    text-align: center;
    font-weight: bold;
}

@media (max-width: 768px) {
    .athlete-section {
        flex-direction: column;
    }
    .match-details {
        padding: 10px 0;
    }
}

/* Hover Effects */
.navbar-brand:hover,
.nav-icons a:hover,
.sidebar-link:hover {
    color: #adb5bd;
    transition: color 0.3s;
}

/* Sidebar Transition & Positioning for Mobile */
@media (max-width: 768px) {
    .sidebar {
        padding-top: 50px; /* Space for close button */
    }
}



/* video detail button styling */
.comment-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 10px;
    resize: none;
    transition: border-bottom-color 0.3s, border-bottom-width 0.3s;
    font-size: 1rem;
    background: none;
    height: 50px;
  }
  
  .comment-input:focus {
    outline: none;
    border-bottom: 2px solid #000;
    height: 50px;
  }
  
  #comment-buttons {
    display: none; /* Initially hidden */
  }
  
  #comment-buttons.active {
    display: flex;
    gap: 10px;
  }


#tag-athletes-section {
    display: none;
    transition: max-height .3s ease;
    overflow: hidden;
}
/* Tag section styling */
#tag-athletes-section {
    position: relative;
    transition: all 0.3s ease;
}

#tag-athletes-section .card {
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Close button styling */
#close-tag-section {
    opacity: 0.7;
    transition: opacity 0.2s ease;
    padding: 0.5rem;
    z-index: 1;
}

#close-tag-section:hover {
    opacity: 1;
}

/* Ensure proper spacing for the card title with close button */
#tag-athletes-section .card-title {
    margin-right: 2rem;
}

/* Add smooth transition for showing/hiding */
#tag-athletes-section {
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#tag-athletes-section[style*="display: none"] {
    opacity: 0;
    transform: translateY(-10px);
}

/* Ensure the Awesomplete wrapper displays as block to fill the width */
.awesomplete {
    display: block !important;
}

/* Make sure labels are displayed above the input fields */
.form-group .form-label {
    display: block;
    margin-bottom: 0.5rem;
}

/* Ensure the input fields take full width */
.form-group .form-control {
    width: 100%;
}

/* end of tag section styling */


/* landing page styles */
.hero-section {
    background-size: cover;
    color: black;
    padding: 75px 0 50px 0;
    text-align: center;
}
.hero-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}
.hero-section h2 {
    font-size: 1.75rem;
    margin-bottom: 40px;
}
.btn-primary {
    background-color: #007bff; /* Choose your primary color */
    border: none;
}
.btn-primary:hover {
    background-color: #0056b3; /* Darker shade on hover */
}
.key-benefits, .feature-highlights, .social-proof {
    padding: 60px 0;
    text-align: center;
}
.key-benefits h2, .how-it-works h2, .feature-highlights h2, .social-proof h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}
.key-benefits h3, .how-it-works h3, .feature-highlights h3 {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.key-benefits p, .how-it-works p,.feature-highlights p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555; /* Slightly darker text color */
    margin-bottom: 40px;
}
.how-it-works {
    padding: 60px 0;
    text-align: center;
    background-color: #eee;
}
.how-it-works ol {
    list-style: none;
    counter-reset: my-awesome-counter;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
 }
.how-it-works ol li {
    counter-increment: my-awesome-counter;
    width: 250px;
    margin: 20px;
}
.how-it-works ol li::before {
    content: counter(my-awesome-counter);
    background: #007bff; /* Or your primary color */
    color: white;
    font-weight: bold;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}
.feature-highlights ul {
    list-style: none;
    padding: 0;
}
.feature-highlights ul li {
    margin-bottom: 15px;
}
.feature-highlights ul li:before {
    content: '✓ '; /* Checkmark or other icon */
    color: #007bff; /* Your primary color */
    font-weight: bold;
}
.call-to-action {
    background-color: #007bff;
    color: white;
    padding: 80px 0;
    text-align: center;
}
.call-to-action h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.call-to-action p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ddd;
}

.call-to-action .btn-light {
    background-color: white;
    color: #007bff;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
}
.call-to-action .btn-light:hover {
    background-color: #eee; /* Slightly darker on hover */
}
.final-cta {
    text-align: center;
    padding: 60px 0;
}


/* Profile Page styles */
/* Profile Picture Styling */
.profile-picture-container {
    text-align: center;
    margin-bottom: 1rem;
}

.profile-picture-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.profile-picture {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.edit-picture-text {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 0;
    font-size: 0.875rem;
    color: #007bff;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.edit-picture-label {
    cursor: pointer;
    display: inline-block;
    transition: all 0.2s ease;
}

.edit-picture-label:hover {
    color: #0056b3;
    transform: scale(1.05);
}

.profile-picture-wrapper:hover .profile-picture {
    filter: brightness(0.95);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Loading state */
.profile-picture.loading {
    filter: brightness(0.7);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-picture {
        width: 120px;
        height: 120px;
    }
    
    .edit-picture-text {
        bottom: -25px;
        font-size: 0.8rem;
        padding: 3px 0;
    }
}

@media (max-width: 480px) {
    .profile-picture {
        width: 100px;
        height: 100px;
    }
    
    .edit-picture-text {
        bottom: -22px;
        font-size: 0.75rem;
        padding: 2px 0;
    }
}

/* Loading spinner for image upload */
.upload-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

/* User Attributes Section */
#view-profile-section {
    margin-top: 0.5rem;
}

#view-profile-section .row {
    margin-top: 0.5rem;
}

#view-profile-section .col-6 {
    margin-bottom: 1rem;
}

#view-profile-section strong {
    color: #495057;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#view-profile-section p {
    margin-top: 0.25rem;
    margin-bottom: 0;
    font-size: 1.1rem;
    color: #212529;
}