:root {
    --primary-color: #2a3136;
    --secondary-color: #ffffff;
    --hover-color: #23292d;
    --border-color: #d9d9d9;
    --text-muted: #64748b;
    --accent-color: #2a3136;
}

* {
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* Base styles for SupportWeb.php that isn't already in timeman.css */

.attachment-field {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    background: #f8fafc;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-area:hover {
    border-color: var(--accent-color);
    background: #f1f5f9;
}

.upload-area i {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.upload-area p {
    margin: 10px 0 5px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
}

.upload-area span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.upload-area:hover i {
    color: var(--accent-color);
    transform: translateY(-5px);
}

.alert {
    padding: 1.25rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

#fileList {
    margin-top: 1rem;
}

.file-item {
    background: #f1f5f9;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--primary-color);
    border: 1px solid #e2e8f0;
}

/* Custom Dropdown Styles (adapted for Light Theme) */
.dropdown-violet {
    position: relative;
    width: 100%;
}

.dropdown-violet__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 18px;
    font-size: 1rem;
    color: var(--primary-color);
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    /* Matching timeman.css input radius */
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown-violet__toggle:focus,
.dropdown-violet__toggle:hover {
    border-color: rgba(42, 49, 54, 0.4);
    box-shadow: 0 0 0 3px rgba(42, 49, 54, 0.2);
    outline: none;
}

.dropdown-violet__menu {
    position: absolute;
    top: 105%;
    left: 0;
    z-index: 1000;
    display: none;
    width: 100%;
    padding: 8px 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.dropdown-violet.is-open .dropdown-violet__menu {
    display: block;
}

.dropdown-violet__option {
    display: block;
    width: 100%;
    padding: 10px 18px;
    font-size: 0.95rem;
    color: var(--primary-color);
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dropdown-violet__option:hover,
.dropdown-violet__option:focus {
    background: #f1f5f9;
}

.dropdown-violet__option.is-selected {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.dropdown-violet__icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a3136' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    transition: transform 0.2s ease;
}

.dropdown-violet.is-open .dropdown-violet__icon {
    transform: rotate(180deg);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Modal Utility Classes (Bootstrap-like) - Required for Standalone Modals */
.text-center {
    text-align: center !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-success {
    color: #198754 !important;
}

.text-muted {
    color: #64748b !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.p-4 {
    padding: 1.5rem !important;
}

.w-100 {
    width: 100% !important;
}

.py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* Button Styles */
.btn {
    display: inline-block;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
}

.btn-danger {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.btn-danger:hover {
    background-color: #bb2d3b !important;
    border-color: #b02a37 !important;
}

.btn-dark {
    color: #fff !important;
    background-color: #2a3136 !important;
    border-color: #2a3136 !important;
}

.btn-dark:hover {
    background-color: #23292d !important;
    border-color: #23292d !important;
}

/* Fix for icons in modals */
.ww-modal-body i {
    display: inline-block;
    margin-bottom: 1rem;
}


.ww-modal-body h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.remove-file {
    color: #ef4444;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.remove-file:hover {
    background-color: #fee2e2;
    color: #dc2626;
}