/**
 * Studies Learning - Yuma Assistant Styles
 */
:root {
    --yuma-primary: #0047ff;
    --yuma-secondary: #00d4aa;
    --yuma-bg: #ffffff;
    --yuma-text: #1e293b;
    --yuma-glass: rgba(255, 255, 255, 0.8);
}

.yuma-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 1.5rem;
}

.yuma-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.yuma-modal-content {
    background: var(--yuma-bg);
    width: 100%;
    max-width: 600px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.3);
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.yuma-modal-overlay.active .yuma-modal-content {
    transform: translateY(0) scale(1);
}

.yuma-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 2.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.yuma-avatar-wrap {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 20px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 71, 255, 0.2);
}

.yuma-avatar-wrap img {
    width: 100%;
    height: auto;
}

.yuma-header-text h2 {
    font-size: 1.8rem;
    font-weight: 850;
    margin: 0;
    letter-spacing: -0.02em;
}

.yuma-header-text p {
    font-size: 0.95rem;
    opacity: 0.7;
    margin: 4px 0 0;
}

.yuma-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.yuma-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

/* Chat Area */
.yuma-body {
    padding: 3rem;
    min-height: 350px;
}

.yuma-message {
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--yuma-text);
    font-weight: 600;
    margin-bottom: 2.5rem;
    animation: yumaFadeUp 0.6s forwards;
}

.yuma-options {
    display: grid;
    gap: 1rem;
    animation: yumaFadeUp 0.8s forwards;
}

.yuma-option-btn {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    padding: 1.2rem 1.8rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 700;
    color: var(--yuma-text);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
}

.yuma-option-btn:hover {
    background: #fff;
    border-color: var(--yuma-primary);
    color: var(--yuma-primary);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 71, 255, 0.08);
}

.yuma-option-btn i {
    font-size: 1.2rem;
    opacity: 0.5;
    transition: all 0.3s;
}

.yuma-option-btn:hover i {
    opacity: 1;
    transform: translateX(5px);
}

@keyframes yumaFadeUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .yuma-body { padding: 2rem; }
    .yuma-header { padding: 2rem; }
    .yuma-message { font-size: 1.1rem; }
    .yuma-avatar-wrap { width: 60px; height: 60px; }
}
