:root {
    --primary: #4a6cf7;
    --primary-gradient: linear-gradient(135deg, #7c4dff 0%, #00bcd4 100%);
    --secondary: #ff4081;
    --dark: #263238;
    --light: #f5f7fb;
    --success: #4caf50;
    --warning: #ff9800;
    --error: #f44336;
    --card-shadow: 0 10px 30px rgba(38, 50, 56, 0.1);
    --hover-shadow: 0 15px 35px rgba(38, 50, 56, 0.2);
    --radius: 16px;
    --transition: all 0.3s ease;
}

.wpas-MyAccount-content {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    padding: 30px;
    margin: 20px 0;
    transition: var(--transition);
}

.wpas-MyAccount-content:hover {
    box-shadow: var(--hover-shadow);
}

.wpas {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: var(--dark);
}

.wpas h1,
.wpas h2,
.wpas h3,
.wpas h4 {
    color: var(--dark);
    font-weight: 600;
}

.wpas-ticket-buttons-top {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.wpas-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    margin-right: 10px;
    font-size: 14px;
    gap: 8px;
}

.wpas-btn-default {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #e9ecef;
}

.wpas-btn-default:hover {
    /* background: #e9ecef; */
    color: #495057;
    border-color: #dee2e6;
    transform: translateY(-2px);
}

.wpas-link-ticketlist {
    background: var(--primary);
    color: white !important;
    border: none;
    box-shadow: 0 4px 15px rgba(124, 77, 255, 0.3);
}

.wpas-link-ticketlist:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 77, 255, 0.4);
}

.wpas-form {
    margin-top: 20px;
}

.wpas-form-group {
    margin-bottom: 25px;
    position: relative;
    opacity: 1;
}


.wpas-form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #546e7a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wpas-form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e3f2fd;
    /* border-radius: 12px; */
    font-size: 16px;
    transition: var(--transition);
    background: #fafafa;
    color: #490b0b;
}

.wpas-form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 5px 15px rgba(124, 77, 255, 0.1);
}

.wpas-form,
.wpas-form-group {
    overflow: visible !important;
}

#role_assignee,
.wpas-form-group {
    position: relative;
    z-index: 1001;
}

.wpas-submit-ticket-wysiwyg {
    border: 2px solid #e3f2fd;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    background: #fafafa;
}

.wpas-submit-ticket-wysiwyg:focus-within {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(124, 77, 255, 0.1);
}

.wpas-submit-ticket-wysiwyg .mce-tinymce {
    border: none !important;
}

.wpas-submit-ticket-wysiwyg .mce-top-part {
    background: #f5f7fb;
    border-bottom: 2px solid #e3f2fd;
}

.wpas-submit-ticket-wysiwyg .mce-btn {
    background: transparent;
    border: none;
    border-radius: 8px;
    transition: var(--transition);
}

.wpas-submit-ticket-wysiwyg .mce-btn:hover {
    background: #e3f2fd;
}

.wpas-submit-ticket-wysiwyg .mce-edit-area {
    border-top: 2px solid #e3f2fd !important;
}

button.wpas-btn[name="wpas-submit"] {
    background: var(--primary);
    color: white;
    padding: 18px 35px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    margin-top: 15px;
    box-shadow: 0 10px 20px rgba(124, 77, 255, 0.3);
    transition: var(--transition);
}

button.wpas-btn[name="wpas-submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(124, 77, 255, 0.4);
}

/* Form layout improvements */
.wpas-submission-form-inside-after-subject {
    /* display: grid; */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* Priority selection styles */
.priority-tags {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.priority-tag {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid #e3f2fd;
    font-weight: 500;
}

.priority-tag:hover {
    transform: translateY(-3px);
}

.priority-tag.selected {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(124, 77, 255, 0.2);
}

.priority-low {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.priority-medium {
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

.priority-high {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}






/* Custom select styling */
#role_assignee {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237c4dff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
    position: relative;
    z-index: 1001;
}

/* Creative elements */
.creative-element {
    position: absolute;
    z-index: 0;
    opacity: 0.05;
    pointer-events: none;
}

.circle-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--primary);
    top: -150px;
    right: -150px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wpas-MyAccount-content {
        padding: 20px 15px;
        margin: 15px 0;
    }

    .wpas-submission-form-inside-after-subject {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .wpas-btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }

    .priority-tags {
        flex-direction: column;
    }
}