/* Global styles */
body {
    font-family: Arial, sans-serif; /* You can choose your preferred font */
    background-color: #f5f5f5; /* A light background to offer some contrast */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff; /* A white container for content */
}

/* Logo thumbnail styles */
.logo-thumbnail {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 4px;
}

.competitor-name {
    font-size: 14pt;
    margin-left: 10px;
}

/* Ad image and video styles */
.ad-image-wrapper {
    width: 100%;
    height: 314px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ad-image {
    max-width: 100%;
    max-height: 100%;
}

.video-container {
    position: relative;
    overflow: hidden;
}

.thumbnail, .video-thumbnail {
    max-width: 100%;
    height: auto;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    background: url('https://icon-library.com/images/play-video-icon-png/play-video-icon-png-17.jpg') no-repeat center center;
    background-size: cover;
    filter: invert(1);
}

/* Checkbox styles */
.custom-checkbox {
    position: relative;
}

.custom-checkbox input[type="checkbox"] {
    display: none;
}

.custom-checkbox label {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-weight: bold;
}

.custom-checkbox label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    border: 2px solid #555;
    border-radius: 4px;
    background-color: transparent;
}

.custom-checkbox input[type="checkbox"]:checked + label:after {
    content: "\2713";
    position: absolute;
    left: 8px;
    top: 4px;
    font-size: 18px;
    line-height: 0.7;
    color: #555;
}

/* Ad grid and card styles */
.ads-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.ad-item {
    flex-basis: calc(33.3333% - 16px);
    box-sizing: border-box;
    max-width: 33.3333%;
}

.card {
    max-width: 100%;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-body, .card-footer {
    padding: 15px;
}

/* Button styles */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14pt;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a636d;
}

/* Flex container styles */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.flex-item {
    flex: 1 0 calc(33.333% - 20px);
    width: calc(33.333% - 20px);
    margin: 10px;
    box-sizing: border-box;
}

.btn.btn-primary.btn-sm.custom-cta-button {
    font-size: 16px !important;
    padding: 2px 8px !important;
}

.nav-link.active {
    border-bottom: 2px solid #FF5733 !important;
    /* Adjusting the padding-bottom to give some space between the text and the underline */
    padding-bottom: 8px; 
}

.card, .card-body {
    overflow: visible;
}

.card-body div {
    display: flex;
    flex-wrap: wrap;
}


.badge {
    word-wrap: break-word;
    white-space: normal;  /* this will allow the text to wrap */
    display: inline-block;  /* necessary to ensure the badge respects margins and doesn't stretch out */
    max-width: 100%;  /* ensure the badge doesn't overflow its parent */
}

.card-body > div {
    max-width: 100%;
}

.masonry-grid {
    transition: height .5s;
}

.masonry-grid-item {
    margin-bottom: 20px;
}

/* Add these styles to your custom.css */

.input-container {
    width: 50% !important; /* Adjust to control the width of the input fields */
}


/* Add these styles to your custom.css */

.input-container {
    width: 50%; /* Adjust to control the width of the input fields */
}

/* Center the login form vertically and horizontally */
.login-container {
    /*display: flex;*/
    justify-content: center;
    max-width: 400px;
    margin: 0 auto; /* Center horizontally */
    align-items: center;
    height: 40vh; /* Adjust to your preference for vertical centering */
}

/* Style the login form */
.login-form {
    background-color: #ffffff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    margin: 0 auto; /* Center the form horizontally */
}

.login-form h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form .form-control {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.login-form button[type="submit"] {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-form button[type="submit"]:hover {
    background-color: #0056b3;
}
