/*!
* This is the extra CSS code.
*/
.card-featured{background-color: #ffffff; border: 2px dashed #ababab;}.opacity-custom{opacity: 0.1;}

/* Skeleton Loading Animation */
.skeleton-image {
  width: 100%;
  height: 100%;
  background-color: #e2e5e9;
  animation: skeleton-loading 1.5s infinite ease-in-out;
}

.skeleton-heading {
  height: 20px;
  width: 70%;
  background-color: #e2e5e9;
  margin-bottom: 10px;
  animation: skeleton-loading 1.5s infinite ease-in-out;
}

.skeleton-line {
  height: 10px;
  width: 100%;
  background-color: #e2e5e9;
  margin-bottom: 8px;
  animation: skeleton-loading 1.5s infinite ease-in-out;
}

.skeleton-line:last-child {
  width: 50%;
}

@keyframes skeleton-loading {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

/* Custom Color Scheme */

/* 1. Page Background / Main Background - Dark Navy / Graphite #2C3A4A */
body, .page, .content, .page-wrapper {
    background-color: #2C3A4A !important;
    color: #D6E0EA !important;
}

/* Navbar - Dark Navy #2C3A4A */
.navbar-dark, 
.bg-dark, 
.navbar-overlap, 
.navbar-overlap:after,
.sticky-top.navbar-expand-md {
    background-color: #2C3A4A !important;
    color: #FFFFFF !important;
    background-image: none !important;
    border-bottom: 1px solid #344559;
}

.sticky-top .navbar-dark {
    background-color: #2C3A4A !important;
    box-shadow: none !important;
}

/* 2. Female Post Header - Bright Pink #FF57A3 */
.bg-pink {
    background-color: #FF57A3 !important;
    color: #FFFFFF !important;
}

/* 3. Male Post Header - Pastel Turquoise / Sea Green #1EC7B6 */
.bg-blue {
    background-color: #1EC7B6 !important;
    color: #FFFFFF !important;
}

/* 4. Post Card Background - Dark Navy (lighter) #344559 */
.card {
    background-color: #344559 !important;
    color: #D6E0EA !important;
    border: none !important;
}

.card-header {
    border-bottom: none !important;
}

.card-footer {
    background-color: rgba(0,0,0,0.2) !important;
    border-top: 1px solid rgba(255,255,255,0.05) !important;
}

/* 5. Buttons (Filter, Shout, Likes) - Pastel Mint #C5FFD6 */
.btn-primary, .btn-secondary, .btn-success, .btn-info {
    background-color: #C5FFD6 !important;
    border-color: #C5FFD6 !important;
    color: #2C3A4A !important; /* Dark text for contrast */
    font-weight: bold !important;
}

.btn-primary:hover, .btn-secondary:hover, .btn-success:hover, .btn-info:hover {
    background-color: #a3e6b8 !important;
    border-color: #a3e6b8 !important;
    color: #2C3A4A !important;
}

/* Like Icon Active State - Mint */
.text-danger {
    color: #C5FFD6 !important;
}

/* 6. Text */
/* Headers - White #FFFFFF */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .card-title {
    color: #FFFFFF !important;
}

/* Description Text - #D6E0EA */
p, .text-muted, .small, body {
    color: #D6E0EA !important;
}

/* Links */
a {
    color: #1EC7B6 !important;
}
a:hover {
    color: #C5FFD6 !important;
    text-decoration: none !important;
}

/* Overrides for text colors inside headers */
.bg-blue .card-title, 
.bg-blue .text-white,
.bg-blue .icon,
.bg-blue a {
    color: #FFFFFF !important;
}

.bg-pink .card-title, 
.bg-pink .text-white,
.bg-pink .icon,
.bg-pink a {
    color: #FFFFFF !important;
}

/* Dropdowns */
.dropdown-menu {
    background-color: #344559 !important;
    color: #D6E0EA !important;
    border: 1px solid #2C3A4A !important;
}
.dropdown-item {
    color: #D6E0EA !important;
}
.dropdown-item:hover {
    background-color: #2C3A4A !important;
    color: #FFFFFF !important;
}
.dropdown-item-icon {
    color: #D6E0EA !important;
}

/* Footer - Dark Navy #2C3A4A */
.footer {
    background-color: #2C3A4A !important;
    color: #D6E0EA !important;
    border-top: 1px solid #344559 !important;
}

/* Add Story Button (and other white buttons) - Mint #C5FFD6 */
.btn-white {
    background-color: #C5FFD6 !important;
    border-color: #C5FFD6 !important;
    color: #2C3A4A !important; /* Dark text */
    font-weight: bold !important;
}

.btn-white:hover {
    background-color: #a3e6b8 !important;
    border-color: #a3e6b8 !important;
    color: #2C3A4A !important;
}

/* Form Elements */
.form-control {
    background-color: #232e3b !important; /* Slightly darker than page bg */
    color: #FFFFFF !important;
    border: 1px solid #546E7A !important;
    border-radius: 2rem !important;
}

.form-control:focus {
    border-color: #1EC7B6 !important; /* Turquoise focus border */
    box-shadow: 0 0 0 0.2rem rgba(30, 199, 182, 0.25) !important;
}

.form-label {
    color: #FFFFFF !important;
}

.form-hint {
    color: #D6E0EA !important;
}

/* Form Select */
.form-select {
    background-color: #232e3b !important;
    color: #FFFFFF !important;
    border: 1px solid #546E7A !important;
    border-radius: 2rem !important;
}

.form-select:focus {
    border-color: #1EC7B6 !important;
    box-shadow: 0 0 0 0.2rem rgba(30, 199, 182, 0.25) !important;
}

/* File Input Button Styling */
input[type="file"]::file-selector-button {
    background-color: #C5FFD6 !important;
    color: #2C3A4A !important;
    border: none !important;
    border-radius: 2rem !important;
    padding: 0.375rem 0.75rem;
    margin-right: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

input[type="file"]::file-selector-button:hover {
    background-color: #a3e6b8 !important;
}

/* Sidebar Settings */
.bg-light {
    background-color: #344559 !important;
    color: #D6E0EA !important;
}

.nav-vertical .nav-link {
    color: #D6E0EA !important;
}

.nav-vertical .nav-link.active {
    background-color: #2C3A4A !important;
    color: #FFFFFF !important;
}

.nav-vertical .nav-link:hover {
    background-color: #2C3A4A !important;
    color: #FFFFFF !important;
}

/* Fix for white background in some cards if they use bg-white */
.bg-white {
    background-color: #344559 !important;
    color: #D6E0EA !important;
}

/* City Selection Tiles */
.city-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 5px;
}

.city-tile-input {
    display: none;
}

.city-tile-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #232e3b;
    border: 2px solid #546E7A;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 80px;
    text-align: center;
    color: #D6E0EA;
    font-weight: 600;
}

.city-tile-label:hover {
    border-color: #1EC7B6;
    background-color: #2C3A4A;
}

.city-tile-input:checked + .city-tile-label {
    border-color: #1EC7B6;
    background-color: rgba(30, 199, 182, 0.1);
    color: #1EC7B6;
    box-shadow: 0 0 10px rgba(30, 199, 182, 0.2);
}

.city-tile-icon {
    margin-bottom: 5px;
}

/* Modal Overrides for Dark Theme */
.modal-content {
    background-color: #344559 !important;
    color: #D6E0EA !important;
    border: 1px solid #2C3A4A !important;
}

.modal-header {
    border-bottom: 1px solid #2C3A4A !important;
    background-color: #344559 !important;
    color: #FFFFFF !important;
}

.modal-footer {
    border-top: 1px solid #2C3A4A !important;
    background-color: #344559 !important;
}

.modal-title {
    color: #FFFFFF !important;
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%); /* Make close button white */
}

/* Notifications specific styles */
.divide-y-4 > div {
    border-bottom: 1px solid #2C3A4A;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.divide-y-4 > div:last-child {
    border-bottom: none;
}

