/* Styling for Tabs */
.tabs {
    display: flex;
    margin-bottom: 20px;
    cursor: pointer;
    border-bottom: 2px solid #333;
    justify-content: center;
}
.tab {
    padding: 10px 20px;
    margin: 0 10px;
    border: 1px solid #333;
    border-radius: 8px 8px 0 0;
    background-color: #666;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}
.tab.active {
    background-color: #333;
    color: #0275d8;
    font-weight: bold;
    border-bottom: 2px solid #333;
    transform: translateY(-2px);
}
.tab:hover {
    background-color: #555;
    transform: translateY(-2px);
}
.tab-content {
    display: none;
    padding: 20px;
    background-color: #333;
    border: 1px solid #ccc;
    border-radius: 8px;
}
.tab-content.active {
    display: block;
}

.tab.liked-videos {
    background-color: #444;
}

body {
    background-color: #1c1c1c;
    font-family: 'Arial', sans-serif;
    margin: 0;
    color: #dcdcdc;
    padding: 0;
    box-sizing: border-box;
}

.container {
    width: 80%;
    margin: 50px auto;
    background-color: rgba(28, 28, 28, 0.8); /* Transparent background color */
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px); /* Background blur */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Shadow for depth */
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.profile-header img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Add shadow to profile image */
}

.profile-header h1 {
    font-size: 2em;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-icons {
    display: flex;
    gap: 5px;
    margin-left: 15px;
}

.badge-icon {
    width: 24px;
    height: 24px;
    position: relative;
    display: inline-block;
}

.badge-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.badge-icon .tooltip {
    visibility: hidden;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 4px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 0.4em;
}

.badge-icon:hover .tooltip {
    visibility: visible;
}

.clips-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.clip-item {
    background-color: #444;
    border-radius: 6px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
    text-decoration: none;
    color: inherit;
    position: relative;
    display: flex;
    flex-direction: column;
}

.clip-item:hover {
    transform: scale(1.03);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4);
}

video {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    object-fit: cover;
}

.clip-title {
    padding: 10px;
    font-size: 1em;
    font-weight: bold;
    background-color: #444;
    text-align: center;
}

.clip-meta {
    padding: 8px 10px;
    font-size: 0.9em;
    background-color: #444;
    color: #dcdcdc;
}

body.dark-mode .clip-item {
    background-color: #333;
}

body.dark-mode .clip-item:hover {
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4);
}