#gp-ai-widget-container { 
    position: fixed; 
    bottom: 25px; 
    z-index: 999999; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
}

#gp-ai-widget-container.gp-pos-right { right: 25px; }
#gp-ai-widget-container.gp-pos-left { left: 25px; }

#gp-ai-floating-btn { 
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    background: var(--gp-primary); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    box-shadow: 0 8px 24px rgba(0,0,0,0.15); 
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

#gp-ai-floating-btn img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
#gp-ai-floating-btn:hover { transform: scale(1.08); }

#gp-ai-chat-window { 
    width: 380px; 
    height: 620px; 
    max-height: 85vh; 
    background: var(--gp-bg); 
    backdrop-filter: blur(16px); 
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px; 
    box-shadow: 0 16px 48px rgba(0,0,0,0.12); 
    border: 1px solid rgba(255,255,255,0.4); 
    position: absolute; 
    bottom: 85px; 
    display: flex; 
    flex-direction: column; 
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(20px); 
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
    overflow: hidden; 
}

.gp-pos-right #gp-ai-chat-window { right: 0; }
.gp-pos-left #gp-ai-chat-window { left: 0; }

#gp-ai-chat-window.gp-is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.gp-header { 
    background: var(--gp-primary); 
    color: #fff; 
    padding: 18px 22px; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    flex-shrink: 0; 
    z-index: 2; 
}

.gp-header img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.2); }
.gp-avatar-placeholder { width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,0.2); display:flex; align-items:center; justify-content:center; }

#gp-clear-chat { background:none; border:none; color:rgba(255,255,255,0.7); font-size:16px; cursor:pointer; }
#gp-close-chat { background:none; border:none; color:white; font-size:24px; cursor:pointer; line-height:1; margin-left:10px; }

#gp-chat-messages { 
    flex: 1 1 0; 
    min-height: 0; 
    padding: 20px; 
    overflow-y: auto !important; 
    overflow-x: hidden; 
    background: transparent; 
    display: flex; 
    flex-direction: column; 
    gap: 16px; 
    scroll-behavior: smooth;
}

.msg { max-width: 85%; padding: 12px 16px; border-radius: 16px; font-size: 14px; line-height: 1.5; word-wrap: break-word; }
.msg.ai { background: #ffffff; color: #1a1a1a; align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.05); }
.msg.user { background: var(--gp-primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }

#gp-gdpr-overlay { position: absolute; top:0; left:0; right:0; bottom:0; background: rgba(255,255,255,0.95); z-index: 10; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 30px; text-align: center; }

.gp-ui-card { background: #fff; border: 1px solid #eaeaea; border-radius: 12px; padding: 16px; margin-top: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); width:100%; box-sizing:border-box;}
.gp-ui-card input, .gp-ui-card select { width: 100%; padding: 10px 12px; margin-bottom: 10px; border: 1px solid #e0e0e0; border-radius: 8px; font-size: 14px; box-sizing: border-box; outline:none; background: #fafafa; transition: 0.2s ease; }
.gp-ui-card input:focus { border-color: var(--gp-primary); background: #fff; }

.gp-btn { width: 100%; background: var(--gp-primary); color: #fff; border: none; padding: 12px; border-radius: 8px; font-weight: 600; cursor: pointer; margin-bottom:8px; text-align:center; display:block; text-decoration:none; box-sizing:border-box; transition:0.2s;}
.gp-btn:hover { opacity:0.9; }
.gp-btn-outline { background: transparent; border: 2px solid var(--gp-primary); color: var(--gp-primary); }

.gp-input-container { padding: 16px; background: rgba(255,255,255,0.9); border-top: 1px solid rgba(0,0,0,0.05); flex-shrink: 0; z-index: 2; }
.gp-input-wrapper { display: flex; align-items: center; background: #f2f4f7; border-radius: 30px; padding: 6px 6px 6px 18px; border: 1px solid transparent; transition: 0.2s; }
.gp-input-wrapper:focus-within { border-color: var(--gp-primary); background: #fff; }
#gp-user-input { flex: 1; border: none; background: transparent; outline: none; font-size: 14px; padding: 10px 0; }
#gp-send-btn { background: var(--gp-primary); border: none; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; color: white; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
#gp-send-btn:hover { transform: scale(1.05); }

#gp-chat-messages::-webkit-scrollbar { width: 4px; }
#gp-chat-messages::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 10px; }

/* Admissions Program Card Styling */
.gp-program-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gp-program-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08) !important;
}
.gp-program-card img {
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.gp-program-card .gp-btn {
    font-size: 13px !important;
    padding: 10px !important;
}
.gp-program-skeleton {
    animation: gpPulse 1.5s infinite ease-in-out;
}
@keyframes gpPulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Dynamic Suggestion Chips Styling */
.gp-chips-container {
    width: 100%;
    margin-top: 4px;
    margin-bottom: 8px;
    align-self: flex-start;
    display: block;
    box-sizing: border-box;
}

.gp-chips-wrapper {
    display: flex;
    gap: 8px;
    overflow-x: auto !important;
    padding: 6px 4px;
    scrollbar-width: none; /* Hide scrollbar Firefox */
    -ms-overflow-style: none; /* Hide scrollbar IE/Edge */
    width: 100%;
    box-sizing: border-box;
}

.gp-chips-wrapper::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.gp-chip {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-weight: 500;
    outline: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    display: inline-block;
    line-height: 1.2;
}

.gp-chip:hover {
    background: var(--gp-primary);
    color: #fff;
    border-color: var(--gp-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.gp-chip:active {
    transform: translateY(0);
}

/* OTP Container and Input Styling */
.gp-otp-container {
    background: rgba(217, 119, 6, 0.04);
    border: 1px dashed rgba(217, 119, 6, 0.25);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.gp-otp-container input {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 8px 10px !important;
    font-size: 13px !important;
    margin-bottom: 8px !important;
}

.gp-otp-container input:focus {
    border-color: #d97706 !important;
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.15) !important;
}