/* Custom styles for K.Social */

/* Icon sizes */
.fas, .fab {
    font-size: 0.9rem;
}

/* Card styles */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.card-img-top {
    transition: transform 0.3s ease-in-out;
    height: 200px;
    object-fit: cover;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Button styles */
.btn-primary {
    background-color: #4F46E5;
    border-color: #4F46E5;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.btn-primary:hover {
    background-color: #4338CA;
    border-color: #4338CA;
}

/* Alert styles */
.alert {
    border-radius: 8px;
    border: none;
    font-size: 0.9rem;
}

/* Navbar styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-weight: 600;
    color: #4F46E5 !important;
    font-size: 1.2rem;
}

.nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
}

/* Footer styles */
footer {
    background-color: #f8f9fa;
    padding: 3rem 0;
}

footer h5 {
    color: #4F46E5;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

footer p, footer li {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Event card content */
.card-body {
    padding: 1.25rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-text p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #6c757d;
}

/* Loading animation */
@keyframes fadeInOut {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading {
    animation: fadeInOut 1s ease-in-out;
}

/* Event filter buttons */
.event-filter {
    margin-bottom: 2rem;
}

.event-filter .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 6px;
}

/* Hero section */
.hero-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
    margin-bottom: 3rem;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .card-img-top {
        height: 180px;
    }
}

/* Form styles */
.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
}

/* Social share buttons */
.social-share .btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Event details page */
.event-details .card {
    margin-bottom: 1.5rem;
}

.event-details .table {
    font-size: 0.9rem;
}

.event-details .table th {
    font-weight: 600;
    color: #4F46E5;
}

/* Amount option styles */
.amount-option {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #fff;
}

.amount-option:hover {
    border-color: #4F46E5;
    background-color: #f8f9ff;
}

.amount-option input[type="radio"] {
    margin-right: 0.5rem;
    cursor: pointer;
}

.amount-option input[type="radio"]:checked + label {
    font-weight: 600;
    color: #4F46E5;
}

.amount-option label {
    cursor: pointer;
    margin-bottom: 0;
    flex: 1;
}

/* Ensure radio buttons are clickable */
.form-check-input {
    cursor: pointer !important;
    pointer-events: auto !important;
}

.form-check-label {
    cursor: pointer !important;
    pointer-events: auto !important;
}

/* Custom amount field styling */
#customFinancialAmountField {
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    background-color: #f8f9ff;
    margin-top: 1rem;
}

#customFinancialAmountField.show {
    border-color: #4F46E5;
    background-color: #fff;
}

#customFinancialAmountInput {
    font-size: 1.1rem;
    font-weight: 500;
    border: 2px solid #4F46E5;
    border-radius: 6px;
}

#customFinancialAmountInput:focus {
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.25);
    border-color: #4F46E5;
}

.forum-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.members-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.member-card {
  display: flex;
  align-items: center;
  background: #f7f7f7;
  border-radius: 8px;
  padding: 12px 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  min-width: 260px;
  max-width: 320px;
}
.member-card img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 18px;
  border: 2px solid #e0e0e0;
}
.member-card strong {
  font-size: 1.1em;
} 