:root {
    --primary-color: #8a1c20;
    --secondary-color: #92272a;
    --light-color: #ffffff;
    --outline-primary-color: #ffffff;
    --bg-card-item: rgba(255, 255, 255, 0.1);
    --text-color: #fff;
}

body {
    font-family: "Poppins", "sans-serif";
    color: var(--text-color);
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}

main {
    background-color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn {
    border-radius: 50rem !important;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary {
    color: var(--outline-primary-color) !important;
    border-color: var(--outline-primary-color) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
}

.btn-light {
    background-color: var(--light-color);
    border-color: var(--light-color);
    color: var(--primary-color);
}

.friend-container {
    color: var(--text-color);
    border-radius: 1rem;
    overflow-x: auto;
    display: flex;
    gap: 1rem;
    scroll-behavior: smooth;
}

.friend-container::-webkit-scrollbar {
    height: 8px;
}

.friend-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.friend-card {
    flex: 0 0 auto;
    background-color: var(--bg-card-item);
    border-radius: 1rem;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.friend-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #7c8cff;
    margin-bottom: 10px;
}

a {
    color: var(--text-color);
    text-decoration: none;
}

.footer-fixed {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background-color: var(--secondary-color);
    z-index: 999;
    padding: 10px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.custom-input {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 25px !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: white;
    padding: 25px 20px;
    height: 45px;
    font-size: 14px;
    font-weight: 400;
}

.custom-input:disabled {
    background-color: rgba(255, 255, 255, 0.5);
}

.custom-input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid #fff;
    color: var(--text-color);
    box-shadow: none;
}
.custom-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}
.input-group-text {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    user-select: none;
    position: absolute;
    right: 10px;
    height: 100%;
    z-index: 99;
}
.input-group {
    margin-bottom: 15px;
}

.main-content {
    min-height: 100vh;
    padding-bottom: 150px !important;
    padding-top: 20px;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
}
