/* Simple CSS for Passion Fruits Video Studio */

/* Purple buttons have white text - stronger rule */
button.bg-primary-600,
button.bg-primary-700,
button.bg-primary-500,
a.bg-primary-600,
a.bg-primary-700,
a.bg-primary-500,
.bg-primary-600,
.bg-primary-700,
.bg-primary-500 {
    color: white !important;
}

/* Force white text on any purple button content */
button.bg-primary-600 *,
button.bg-primary-700 *,
button.bg-primary-500 *,
a.bg-primary-600 *,
a.bg-primary-700 *,
a.bg-primary-500 * {
    color: white !important;
}

/* Green buttons also have white text */
button.bg-green-600,
button.bg-green-700,
button.bg-green-500,
a.bg-green-600,
a.bg-green-700,
a.bg-green-500,
.bg-green-600,
.bg-green-700,
.bg-green-500 {
    color: white !important;
}

/* Text in white cards is dark - but not buttons */
.bg-white *:not(button):not(button *) {
    color: #374151 !important;
}

/* Ensure buttons remain visible */
button {
    display: inline-flex !important;
    visibility: visible !important;
}

/* Page titles are white */
h1, h2, h3 {
    color: white !important;
}

/* But headers in white cards are dark */
.bg-white h1,
.bg-white h2,
.bg-white h3 {
    color: #1f2937 !important;
}

/* Simple brand text - no gradient */
nav h1 {
    color: #a855f7 !important;
}

/* Dropdown menu - force visibility when not hidden */
.dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    z-index: 50 !important;
    min-width: 14rem !important;
    background-color: #374151 !important;
    border: 1px solid #4b5563 !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3) !important;
    display: block !important;
}

.dropdown-menu.hidden {
    display: none !important;
}

/* Dropdown links */
.dropdown-menu a {
    color: #d1d5db !important;
    display: block !important;
    padding: 0.5rem 1rem !important;
}

.dropdown-menu a:hover {
    background-color: #4b5563 !important;
    color: white !important;
}

/* Purple form focus */
input:focus,
textarea:focus,
select:focus {
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}
/* Toast Notification Styles - Fix positioning */
.toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    max-width: 24rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-success {
    border-left: 4px solid #10b981;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-warning {
    border-left: 4px solid #f59e0b;
}

.toast-info {
    border-left: 4px solid #3b82f6;
}

/* Fix text color in toast notifications */
.toast p {
    color: #374151 \!important;
}

/* Fix close button positioning in toasts */
.toast button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}

/* Prevent X marks from appearing outside toast area */
.toast svg {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
}
