/* 
Custom Theme Styles for Twitter Management Application
This CSS file adds enhanced visual styles to improve the UI/UX of the application
*/

/* Gradient text effect class */
.text-gradient {
    background: linear-gradient(to right, #12c2e9, #c471ed, #f64f59);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

/* Enhanced form controls with focus effects */
.form-control:focus, .form-select:focus {
    border-color: #c471ed !important;
    box-shadow: 0 0 0 0.25rem rgba(196, 113, 237, 0.25) !important;
}

/* Custom styling for the category selector */
.form-select.border-info {
    border-width: 2px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-select.border-info:focus {
    border-color: #0dcaf0 !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 202, 240, 0.25) !important;
}

/* Custom styling for the Twitter account selector */
.form-select.border-primary {
    border-width: 2px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-select.border-primary:focus {
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

/* Custom textarea styling */
.form-control#content-textarea {
    transition: all 0.3s ease;
}

.form-control#content-textarea:focus {
    border-color: #c471ed !important;
    box-shadow: 0 0 8px rgba(196, 113, 237, 0.5) !important;
    transform: translateY(-2px);
}

/* Enhanced button styles */
.btn-primary {
    background: linear-gradient(135deg, #0d6efd, #0143a3) !important;
    border: none !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0b5ed7, #012d6b) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

.btn-success {
    background: linear-gradient(135deg, #198754, #115c39) !important;
    border: none !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
}

.btn-success:hover {
    background: linear-gradient(135deg, #157347, #0e462c) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

.btn-info {
    background: linear-gradient(135deg, #0dcaf0, #0995b2) !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
}

.btn-info:hover {
    background: linear-gradient(135deg, #31d2f2, #0a768f) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545, #a71d2a) !important;
    border: none !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #bb2d3b, #8e1923) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Card enhancements */
.card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

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

.card-header {
    background: linear-gradient(135deg, #2b3035, #212529);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom badge styling */
.badge {
    padding: 0.5em 0.8em;
    border-radius: 6px;
    font-weight: 500;
}

/* Nav pill customizations */
.nav-pills .nav-link {
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
    transform: translateY(-2px);
}

/* Table enhancements */
.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table th {
    background: linear-gradient(135deg, #2b3035, #212529);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
}

.table td {
    padding: 12px 15px;
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Help tooltip styling */
.help-tooltip {
    cursor: help;
    color: #0dcaf0;
    transition: all 0.3s ease;
}

.help-tooltip:hover {
    color: #31d2f2;
}

/* Pulse animation for call-to-action elements */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}