/* Masonry Layout */
.masonry {
    column-count: 1;
    column-gap: 1.5rem;
}

@media (min-width: 768px) {
    .masonry { column-count: 2; }
}

@media (min-width: 1200px) {
    .masonry { column-count: 3; }
}

.masonry-card {
    display: inline-block;
    width: 100%;
    margin-bottom: 1.5rem;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 4px var(--shadow-color);
}

.card-title {
    color: var(--primary-color);
}

.card-title i {
    color: var(--primary-color);
}

/* Card Header Button Styles */
.card-body .d-flex.justify-content-between > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
    width: 100%;
}

@media (min-width: 576px) {
    .card-body .d-flex.justify-content-between > div:last-child {
        flex-direction: row;
        align-items: center;
        width: auto;
    }
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* Icon Colors */
.icon-primary {
    color: var(--primary-color);
}

.icon-danger {
    color: var(--danger-color);
}

.icon-warning {
    color: var(--warning-color);
}

/* Text Colors */
.text-primary {
    color: var(--primary-color) !important;
}

.text-danger {
    color: var(--danger-color) !important;
}

/* Badge Styles */
.badge-starred {
    background-color: var(--warning-opacity-15) !important;
    color: var(--warning-color) !important;
}

.badge-trash {
    background-color: var(--danger-opacity-15) !important;
    color: var(--danger-color) !important;
}

/* Contact Link Styles */
.contact-link {
    background-color: var(--primary-opacity-8);
    color: var(--primary-color);
    transition: all 0.2s;
}

.contact-link:hover {
    background-color: var(--primary-opacity-12);
    color: var(--primary-color);
}

/* Chart Container */
.chart-container {
    position: relative;
    height: 200px;
}

/* Alert Styles */
.alert-info {
    background-color: var(--primary-opacity-8);
    border-color: var(--primary-opacity-20);
    color: var(--primary-color);
}

/* List Group Styles */
.list-group-item {
    border: none;
    padding: 1rem 0;
}

.list-group-item:not(:last-child) {
    border-bottom: 1px solid var(--shadow-color);
}

/* Download Button */
.btn-download {
    background-color: var(--primary-color);
    border: none;
    border-radius: 6px;
    box-shadow: 0 1px 2px var(--primary-opacity-8);
    color: var(--white);
    transition: all 0.2s;
}

.btn-download:hover {
    background-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px var(--primary-opacity-12);
} 