/* HostingSOS — Custom Styles */

/* Smooth transitions for filter buttons */
.country-filter.active {
    background-color: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.4);
    color: #4ade80;
}

/* Chevron rotation */
.country-chevron.collapsed {
    transform: rotate(-90deg);
}

/* Country section collapse animation */
.country-brands {
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.country-brands.collapsed {
    max-height: 0;
    opacity: 0;
}

/* Pulse animation for status dots */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-pulse-dot {
    animation: pulse-dot 2s ease-in-out infinite;
}

/* Admin table hover */
.admin-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

/* Admin form inputs */
.admin-input {
    background-color: #0f1117;
    border: 1px solid #2d3748;
    color: #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    width: 100%;
    transition: border-color 0.2s;
}

.admin-input:focus {
    outline: none;
    border-color: #4ade80;
    box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.3);
}

.admin-input::placeholder {
    color: #4a5568;
}

/* Select styling */
.admin-select {
    background-color: #0f1117;
    border: 1px solid #2d3748;
    color: #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    width: 100%;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234a5568'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.25rem;
}

.admin-select:focus {
    outline: none;
    border-color: #4ade80;
}

/* Textarea */
.admin-textarea {
    background-color: #0f1117;
    border: 1px solid #2d3748;
    color: #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    width: 100%;
    min-height: 100px;
    resize: vertical;
}

.admin-textarea:focus {
    outline: none;
    border-color: #4ade80;
}

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: #22c55e;
    color: #0f1117;
}

.btn-primary:hover {
    background-color: #16a34a;
}

.btn-secondary {
    background-color: #1a1d23;
    border-color: #2d3748;
    color: #e2e8f0;
}

.btn-secondary:hover {
    border-color: #4a5568;
}

.btn-danger {
    background-color: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.btn-danger:hover {
    background-color: rgba(239, 68, 68, 0.25);
}

.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
}
