/* General Styles */
body {
    background-color: #f8f9fa;
}

/* Navbar Styles */
.navbar-brand i {
    margin-right: 8px;
}

/* Card Styles */
.card {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0,0,0,0.125);
}

/* Dashboard Stats */
.stats-card {
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.stats-card i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #0d6efd;
}

/* Bot List */
.bot-card {
    transition: transform 0.2s;
}

.bot-card:hover {
    transform: translateY(-5px);
}

.bot-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.status-active {
    background-color: #28a745;
}

.status-inactive {
    background-color: #dc3545;
}

/* Broadcast List */
.broadcast-progress {
    height: 8px;
    margin-top: 10px;
}

/* Customer List */
.customer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

/* Forms */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Loading Spinner */
.spinner-border {
    width: 1rem;
    height: 1rem;
    margin-right: 8px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .stats-card {
        margin-bottom: 15px;
    }
    
    .card-body {
        padding: 15px;
    }
}

/* Bot Settings Page */
.form-text {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.card {
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-text {
    color: #6c757d;
    line-height: 1.6;
}

.form-label {
    font-weight: 500;
    color: #2c3e50;
}

.form-control:focus,
.form-select:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.btn-outline-primary {
    color: #4a90e2;
    border-color: #4a90e2;
}

.btn-outline-primary:hover {
    background-color: #4a90e2;
    border-color: #4a90e2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .col-md-4 {
        margin-top: 2rem;
    }
}

/* Facebook Login Button */
.btn-facebook {
    background-color: #1877f2;
    color: white;
    border: none;
    padding: 8px 16px;
    transition: background-color 0.3s ease;
}

.btn-facebook:hover {
    background-color: #166fe5;
    color: white;
}

.divider {
    position: relative;
    text-align: center;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

/* Landing Page Styles */
.login-container {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
}

.login-content {
    max-width: 900px;
    width: 100%;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.login-header i {
    color: #1877f2;
    filter: drop-shadow(0 4px 6px rgba(24, 119, 242, 0.2));
}

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card i {
    color: #1877f2;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.feature-card p {
    color: #718096;
    margin-bottom: 0;
}

.login-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.divider-text {
    padding: 0 1rem;
    color: #718096;
    font-size: 0.875rem;
}

.btn-facebook {
    background-color: #1877f2;
    color: white;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-facebook:hover {
    background-color: #166fe5;
    color: white;
    transform: translateY(-1px);
}

.btn-primary {
    transition: transform 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .login-container {
        padding: 1rem;
    }
    
    .login-content {
        padding: 2rem;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
}

/* Animation for the header icon */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.login-header i {
    animation: float 3s ease-in-out infinite;
}

/* Persistent Menu Styles */
.menu-item {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    padding: 1rem;
    transition: all 0.2s ease-in-out;
}

.menu-item:hover {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.menu-item-fields {
    margin-top: 1rem;
}

.form-label.required:after {
    content: " *";
    color: #dc3545;
}

#menuItemsContainer {
    transition: all 0.3s ease-in-out;
}

#menuItemsContainer.d-none {
    display: none !important;
}

/* Toast Styles */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1050;
}

.toast {
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    margin-bottom: 0.75rem;
    max-width: 350px;
    opacity: 0;
    transition: opacity 0.15s linear;
}

.toast.show {
    opacity: 1;
}

.toast-header {
    align-items: center;
    background-clip: padding-box;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
    display: flex;
    padding: 0.5rem 0.75rem;
}

.toast-body {
    padding: 0.75rem;
}

/* Quick Actions specific styles */
.quick-actions .btn {
    padding: 1rem;
    font-weight: 500;
}

.quick-actions .btn i {
    margin-right: 0.5rem;
}

.btn-grid {
    display: grid;
    gap: 0.5rem;
}

/* Automation Cards */
.automation-card {
    background: white;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.automation-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.automation-title {
    flex: 1;
}

.automation-title h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2c3e50;
}

.automation-time {
    font-size: 0.8rem;
    color: #6c757d;
}

.automation-actions {
    display: flex;
    gap: 8px;
}

.automation-actions button {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #6c757d;
    transition: color 0.2s;
}

.automation-actions button:hover {
    color: #2c3e50;
}

.btn-edit:hover {
    color: #0d6efd;
}

.btn-delete:hover {
    color: #dc3545;
}

.day-group {
    margin-bottom: 24px;
}

.day-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.day-header h2 {
    font-size: 1.1rem;
    margin: 0;
    color: #2c3e50;
}

.automation-count {
    font-size: 0.8rem;
    color: #6c757d;
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 12px;
} 