@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');
@import url('colors.css');

html {
	position: relative;
	min-height: 100%;
}
body {
	/* Margin bottom by footer height */
	font-size: 0.9rem;
    margin-bottom: 80px; 
    font-family: 'Lato', sans-serif;       
    background: rgba(0, 0, 0, 0) url("https://content.fluidsolo.com/images/backgrounds/background-web-min.png") no-repeat fixed 0 0 / cover;
}
.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	/* Set the fixed height of the footer here */
	height: 80px;
	line-height: 20px; /* Vertically center the text there */                
}      

.logoText {
    font-family: 'Audiowide';
}

.model-image {
    max-width: 600px;
}

/* These are the styles for the device selector */
#deviceSelector .dropdown-toggle, #deviceSelector .dropdown-menu { width: 300px }
#deviceSelector .btn-group img { margin-right: 10px }
#deviceSelector .dropdown-toggle { padding-right: 50px }
#deviceSelector .dropdown-toggle #deviceSelector.glyphicon { margin-left: 20px; margin-right: -40px }            
#deviceSelector .dropdown-header {  font-size: 14px; font-weight: 700; padding-top: 5px; padding-bottom: 5px; margin-top: 10px; margin-bottom: 5px }

#siteNavBar, #profileNameHeader {
    background: rgb(17,1,3);
    background: linear-gradient(90deg, rgba(17,1,3,1) 0%, rgba(9,9,121,1) 57%, rgba(83,3,14,1) 100%);
}

.badge-soundcloud {
    background-color: #f50;
}

.badge-youtube {
    background-color: #EE1C1B;
}

.card-img-top {
    width: 100%;
    height: 15vw;
    object-fit: cover;
    object-position: top;
}

.card-img-top-no-zoom {
    width: 100%;    
}

.blue-gradient-card {
    background: linear-gradient(160deg, #000033, #003366);
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.animated-card-bg {
    /* The gradient definition */
    background: linear-gradient(
        -45deg, 
        rgba(17, 1, 3, 1) 0%, 
        rgba(9, 9, 121, 1) 50%, 
        rgba(83, 3, 14, 1) 100%
    );
    background-size: 400% 400%;
    animation: undulate 15s ease infinite;
    
    /* Text styling for contrast */
    color: white; 
    border: none; /* Optional: removes the default grey border */
    
    /* CRITICAL: This clips the background to the card's rounded corners */
    overflow: hidden; 
}

@keyframes undulate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#categoryButtons .btn {
    margin: 10px 10px 10px 0;
}

.article-main-img {
    max-width: 375px;
}

#homePatchListingsTable td  {
    vertical-align: middle;
}

#homePatchListingsTable .patchDescription {
    width: 40%;
}

#profilePatchListingsTable td {
    vertical-align: middle;
}

#profilePatchListingsTable .patchDescription {
    width:35%;
}

#modelPatchListingsTable td {
    vertical-align: middle;
}

#modelPatchListingsTable .patchDescription {
    width:35%;
}

#searchPatchListingsTable td {
    vertical-align: middle;
}

#searchPatchListingsTable .patchDescription {
    width:35%;
}

.heres-whats-new {
    color:orange;
}

.article-link {
    color:lightgray;
}

/* Custom Typography */
h2, h4, h5 {
    font-weight:900;
}

h6 {
    font-weight: 700;
}

.patchLink {
    font-weight: 700; 
}

.display-table {
    display: table; 
}
.display-table > div { 
    display: table-row; 
}
.display-table > div > div { 
    display: table-cell;
    padding: 15px;
}

.patchActionButton {
    margin-top:15px;
}

.legacy-button {
    background: linear-gradient(135deg, #001f3d, #003366); /* Dark blue gradient */
    color: white;
    margin-top: 10px;
    padding: 5px 20px;
    border: 2px solid transparent; /* Border that matches the button background */
    border-radius: 0; /* Square edges */
    font-weight: bold;
    text-align: center;
    font-size: 12px;
    display: block; /* Ensures the button stays on its own line */
    width: fit-content; /* Keeps the button width according to the content */
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: none;
}

.legacy-button:hover {
    background: linear-gradient(135deg, #003366, #001f3d); /* Reversed gradient on hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.model-label {
      background: linear-gradient(90deg, rgba(17,1,3,1) 0%, rgba(9,9,121,1) 57%, rgba(83,3,14,1) 100%);
      color: white;
      padding: 4px 8px;
      font-size: 0.85rem;
      margin: 0;
    }
    .card-img-top {
      margin-bottom: 0; /* remove spacing */
    }


/* Content for teh updated "What's New" component */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}
.news-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 8px 10px;
}
.news-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.news-item-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.news-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}
.news-category {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1px 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.2);
    color: #fff;
}
.news-category--gear      { background: rgba(255, 180, 50, 0.35); }
.news-category--how-to    { background: rgba(80, 220, 160, 0.35); }
.news-category--news      { background: rgba(100, 180, 255, 0.35); }
.news-date {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.6);
}
.news-item .article-link {
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.3;
}
.news-subtitle {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    margin: 0;
    line-height: 1.3;
}