body {
  font-size: 18px;
  font-family: "Helvetica Neue", sans-serif;
  margin: 0 auto;
  text-align: center;
}  
 :root{
    --mm-body-bg: #0b0f14;
    --mm-body-fg: #f5f7fa;
    --mm-body-muted: #c7d0dc;

    --mm-body-ring1: #7c3aed; /* mor */
    --mm-body-ring2: #06b6d4; /* camgöbeği */
    --mm-body-ring3: #22c55e; /* yeşil */
  }

  html,body{height:100%}
 body{
  margin:0;
  background: var(--mm-body-bg);
  color: var(--mm-body-fg);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  min-height:100%;
  /* LITE arka plan (pseudo yok!) */
  background-image:
    radial-gradient(40vmax 40vmax at 20% 30%, color-mix(in oklab, var(--mm-body-ring1) 45%, transparent), transparent 60%),
    radial-gradient(50vmax 50vmax at 80% 40%, color-mix(in oklab, var(--mm-body-ring2) 38%, transparent), transparent 65%),
    radial-gradient(45vmax 45vmax at 40% 80%, color-mix(in oklab, var(--mm-body-ring3) 35%, transparent), transparent 60%);
  background-repeat:no-repeat;
  background-size:160% 160%, 180% 180%, 170% 170%;
  animation: mmLiteDrift 32s ease-in-out infinite alternate;
}

/* Yalnızca background-position animasyonu (ucuz) */
@keyframes mmLiteDrift{
  0%   { background-position: 0% 0%,   100% 0%,   30% 100%; }
  50%  { background-position: 60% 40%, 40% 80%,  70% 60%;  }
  100% { background-position: 100% 0%, 0% 100%,  100% 100%; }
}

@media (prefers-reduced-motion: reduce){
  body{ animation:none; }
}


  @keyframes mmSpin{ to{ transform: rotate(1turn); } }

  @media (prefers-reduced-motion: reduce){
    body::before{ animation:none; }
  }






h1, h2 {
  text-align: center;
  text-transform: uppercase;
  font-weight: 400;
}

.styled-input-single {
  position: relative;
  padding: 20px 0 20px 40px;
  text-align: left; }
  .styled-input-single label {
    cursor: pointer; }
    .styled-input-single label:before, .styled-input-single label:after {
      content: '';
      position: absolute;
      top: 50%;
      border-radius: 50%; }
    .styled-input-single label:before {
      left: 0;
      width: 30px;
      height: 30px;
      margin: -15px 0 0;
      background: #d3d3d3;
      box-shadow: 0 0 1px grey; }
    .styled-input-single label:after {
      left: 5px;
      width: 20px;
      height: 20px;
      margin: -10px 0 0;
      opacity: 0;
      background: #089c6b;
      transform: translate3d(-40px, 0, 0) scale(0.5);
      transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out; }
  .styled-input-single input[type="radio"],
  .styled-input-single input[type="checkbox"] {
    position: absolute;
    top: 0;
    left: -9999px;
    visibility: hidden; }
    .styled-input-single input[type="radio"]:checked + label:after,
    .styled-input-single input[type="checkbox"]:checked + label:after {
      transform: translate3d(0, 0, 0);
      opacity: 1; }
      .styled-input-single>  label{
color: rgb(179, 178, 178)
      }
.styled-input--square label:before, .styled-input--square label:after {
  border-radius: 0; }

.styled-input--rounded label:before {
  border-radius: 10px; }

.styled-input--rounded label:after {
  border-radius: 6px; }

.styled-input--diamond .styled-input-single {
  padding-left: 45px; }

.styled-input--diamond label:before, .styled-input--diamond label:after {
  border-radius: 0; }

.styled-input--diamond label:before {
  transform: rotate(45deg); }

.styled-input--diamond input[type="radio"]:checked + label:after,
.styled-input--diamond input[type="checkbox"]:checked + label:after {
  transform: rotate(45deg);
  opacity: 1; }



h1 {
  font-size: 2.8rem; }

h2 {
  font-size: 2rem; }

h1, h2 {
  font-family: 'Yrsa', cursive; }



hr {
  margin: 40px auto;
  max-width: 100px;
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  padding: 0; }

.pen-intro {
  text-align: center; }

.two-column:after {
  content: "";
  display: table;
  clear: both; }

.two-column {
  margin: 0 0 40px; }
  @media (min-width: 860px) {
    .two-column {
      display: flex; } }
  .two-column .single-col {
    margin: 0 0 40px; }
    @media (min-width: 860px) {
      .two-column .single-col {
        width: 47.5%;
        float: left;
        margin: 0 0 0 5%; }
        .two-column .single-col:nth-child(2n+1) {
          clear: both;
          margin: 0; } }

          
/* ---------- Useful Button styling ---------- */

.button-pulse{
  position: relative;
  background-color: black;
  font-family: 'Lexend';
  border-radius: 4em;
  font-size: 16px;
  color: white;
  padding: 0.8em 1.8em;
  cursor:pointer;
  /* user-select:none; */
  text-align: center;
  /* text-decoration: none; */
  cursor: pointer;
  transition-duration: 0.4s;
  -webkit-transition-duration: 0.4s; /* Safari */
}

.button-pulse:hover {
  transition-duration: 0.1s;
  background-color: #3A3A3A;
}

.button-pulse:after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 4em;
  left: 0;
  top:0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.5s;
  box-shadow: 0 0 10px 40px white;
}

.button-pulse:active:after {
  box-shadow: 0 0 0 0 white;
  position: absolute;
  border-radius: 4em;
  left: 0;
  top:0;
  opacity: 1;
  transition: 0s;
}

.button-pulse:active {
  top: 1px;
}


.ud-button-pulse{
  position: relative;
  background-color: inherit;
  font-family: 'Lexend';
  border-radius: 4em;
  font-size: 16px;
  color: white;
  padding: 0.8em 1.8em;
  cursor:pointer;
  /* user-select:none; */
  text-align: center;
  /* text-decoration: none; */
  cursor: pointer;
  transition-duration: 0.4s;
  -webkit-transition-duration: 0.4s; /* Safari */
}
.ud-button-pulse.danger{
  position: relative;
  background-color: rgb(83 14 14);
  font-family: 'Lexend';
  border-radius: 4em;
  font-size: 16px;
  color: white;
  padding: 0.8em 1.8em;
  cursor:pointer;
  /* user-select:none; */
  text-align: center;
  /* text-decoration: none; */
  cursor: pointer;
  transition-duration: 0.4s;
  -webkit-transition-duration: 0.4s; /* Safari */
}

.ud-button-pulse:hover {
  transition-duration: 0.1s;
  background-color: #3A3A3A;
}

.ud-button-pulse:after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 4em;
  left: 0;
  top:0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.5s;
  box-shadow: 0 0 10px 40px white;
}

.ud-button-pulse:active:after {
  box-shadow: 0 0 0 0 white;
  position: absolute;
  border-radius: 4em;
  left: 0;
  top:0;
  opacity: 1;
  transition: 0s;
}

.ud-button-pulse:active {
  top: 1px;
}

.is-typing {
  margin-top: 10px;
  margin-bottom: 25px;
  width: 45px;
  justify-content: space-around;
  display: flex;
}

.jump1,
.jump2,
.jump3{
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background-color: gray;
}

.jump1 {
  animation: typing 1.5s linear infinite;
  animation-delay: 01.1s;
}

.jump2 {
  animation: typing 1.5s linear infinite;
  animation-delay: 01.2s;
}

.jump3 {
  animation: typing 1.5s linear infinite;
  animation-delay: 01.3s;
}

.jump4 {
  animation: typing 1.5s linear infinite;
  animation-delay: 01.4s;
}

.jump5 {
  animation: typing 1.5s linear infinite;
  animation-delay: 1.5s;
}

@keyframes typing {
0% {
 transform: translateY(0px);
}

25% {
 transform: translateY(0px);
}

35% {
 transform: translateY(15px);
}

45% {
 transform: translateY(0px);
}

60% {
 transform: translateY(-15px);
}

75% {
   background-color: white;
 transform: translateY(0px);
}

100% {
 transform: translateY(0px);
}
}
.rmsg{
  display:flex;            /* make each message a flex row */
  margin:10px;
  padding:5px 6px;
  text-align: left;
  font-family: 'Open Sans';
  font-size: 16px;
  line-height: 1.4;
}


.chat-bubble{
  display:inline-block;
  padding:5px 6px;
  border-radius:15px;
  color:#fff;
  background:#3a3a3a;      /* bot default */
  max-width:75ch;          /* cap width so long texts wrap nicely */
  width:fit-content;       /* shrink to content for short texts */
  word-wrap:break-word;
}

.chat-bubble.bot{
  border-bottom-left-radius:0;
  background:#3a3a3a;
  margin-right:auto;       /* stick to left */
}

.chat-bubble.user{
  border-bottom-right-radius:0;
  background:#27b155;
  margin-left:auto;        /* push to right without offsets */
}

input, textarea {
  touch-action: "none";
}

textarea {
  width: 100%;
  min-height: 40px;
max-height: 300px;
overflow-y: hidden;
resize: none;
padding: 10px;
font-size: 26px;
border: 1px solid #ccc;
border-radius: 5px;
font-family: 'Lexend';
font-weight: 600;
line-height: 28px;
cursor: default;
}
textarea#txtChatSend:focus-visible{
  outline:red;
  overflow: auto;
}

 .alert {
  padding: 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
  font-family: sans-serif;
}

.alert a {
  font-weight: bold;
  text-decoration: underline;
}

/* Success Alert */
.alert-success {
  background-color: #0f3d2e;
  color: #d1fae5;
  border: 1px solid #14532d;
}

/* Danger Alert */
.alert-danger {
  background-color: #3f0d0d;
  color: #fecaca;
  border: 1px solid #991b1b;
}

/* Warning Alert */
.alert-warning {
  background-color: #f0db9b;
  
  color: #8a7b0e;
  border: 1px solid #df9815;
}

/* Info Alert */
.alert-info {
  background-color: #00334a;
  color: #a5f3fc;
  border: 1px solid #0284c7;
}
.profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #2d2d2d;
  border: 2px solid #10b981;  /* accent green border */
  cursor: pointer;
  text-decoration: none;      /* remove link underline */
  transition: all 0.25s ease;
}

.profile-btn img {
  width: 60%;   /* make icon fit nicely */
  height: 60%;
  border-radius: 50%; /* ensures round icons look clean */
}

.profile-btn:hover {
  background: #3a3a3a;
  transform: scale(1.08);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.profile-btn:active {
  transform: scale(0.95);
  background: #222;
}
