/* Galaxy background */
.galaxy-bg {
    background: radial-gradient(circle at top, #1a0033, #000010 70%);
    background-attachment: fixed;
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Center card */
.center-card {
    width: 90%;
    max-width: 450px;
    margin: 80px auto;
    padding: 25px;
    background: rgba(20, 20, 40, 0.7);
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(120, 0, 255, 0.6);
    backdrop-filter: blur(8px);
}

/* Titles */
.title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 5px;
}

.subtitle {
    text-align: center;
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 20px;
}

/* Inputs */
.input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
}

.label {
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
}

/* Toggle */
.toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* Buttons */
.glow-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #6a00ff, #00c8ff);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 0 15px #6a00ff;
}

.glow-button-small {
    padding: 10px 20px;
    background: linear-gradient(90deg, #6a00ff, #00c8ff);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    box-shadow: 0 0 10px #6a00ff;
}

/* Chat layout */
.chat-container {
    width: 90%;
    max-width: 700px;
    margin: 40px auto;
    padding: 20px;
    background: rgba(20, 20, 40, 0.7);
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(120, 0, 255, 0.6);
    backdrop-filter: blur(8px);
}

.messages {
    height: 65vh;
    overflow-y: auto;
    padding-right: 10px;
}

.msg-user {
    text-align: right;
    margin: 10px 0;
}

.msg-user span {
    background: #00c8ff;
    padding: 10px 15px;
    border-radius: 12px;
    display: inline-block;
    color: black;
}

.msg-ai {
    text-align: left;
    margin: 10px 0;
}

.msg-ai span {
    background: #6a00ff;
    padding: 10px 15px;
    border-radius: 12px;
    display: inline-block;
}

/* Input row */
.input-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.chat-input {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
}
