
.editor-container {
  max-height: 400px;
  height: auto;
  min-height: 100px;
  border: 1px solid #333;
}


 .editor-output-block {
    margin-top: 10px;
    padding-top: 10px;
  }

  /* Code Copy Block */
#codeEditor {
  user-select: none;
  -webkit-user-select: none;
}
#codeEditor.copy-unlocked {
  user-select: text;
  -webkit-user-select: text;
}
/* ===============================
    BUTTON PLACEHOLDER
================================= */
#indexPageArea #Button-placeholder {
    min-height: 100vh;
    background-color: #E3F2FD;  /* Light sky blue */
    padding-top: 20px;
}

/* Editor box */
#indexPageArea .editor-container {
    max-height: 400px;
    height: auto;
    min-height: 100px;
    border: 1px solid #1E88E5;
}

/* ===============================
    DROPDOWN MENU
================================= */
#indexPageArea .dropdown-menu {
    position: static !important;
    float: none;
    margin-top: 0.25rem;
    width: 100%;
}

/* ===============================
    PRIMARY BUTTON (Next / Previous)
    AIT Logo-Matched Animated Gradient - PREMIUM LOOK
================================= */
#indexPageArea .btn-primary {
    /* Updated: Using Logo Dark Blue (#0D336D) and Logo Cyan (#00C2E8) */
    background: linear-gradient(-45deg, #0D336D, #00C2E8, #FFFFFF, #00C2E8, #0D336D) !important;
    background-size: 400% 400% !important;
    animation: gradient-animation 16s ease infinite !important;

    border: none !important;
    font-weight: 600 !important;
    padding: 8px 22px !important;
    border-radius: 8px !important;
    color: #f5f6f9 !important; /* Text matches the Logo Dark Blue for best contrast */
    transition: 0.35s ease-in-out !important;
}

#indexPageArea .btn-primary:hover {
    transform: translateY(-2px);
    /* Enhanced Premium Shadow: Stronger lift using the new Logo Dark Blue color */
    box-shadow: 0 8px 18px rgba(13, 51, 109, 0.45); 
}

/* Gradient Animation */
@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===============================
    SUCCESS BUTTON (AIT Logo Gradient) - OFFICIAL LOOK
================================= */
#indexPageArea .btn-success {
    /* Updated: Clean gradient matching the Logo Dark Blue and Logo Cyan */
    background: linear-gradient(135deg, #0D336D, #00C2E8) !important;
    border: 1px solid #0D336D !important; /* Border matches the Logo Dark Blue */
    color: #fff !important;
    font-weight: 600;
    padding: 8px 22px !important; 
    border-radius: 8px !important; 
    transition: 0.3s ease-in-out;
}

#indexPageArea .btn-success:hover {
    transform: translateY(-2px);
    /* Premium Look: Stronger shadow using the new Logo Dark Blue color */
    box-shadow: 0 8px 18px rgba(13, 51, 109, 0.6); 
}

#indexPageArea .btn-success:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* ===============================
    SIDEBAR + MAIN LAYOUT
================================= */
#indexPageArea .responsive-wrapper {
    display: flex;
    min-height: 100vh;
}

#indexPageArea .sidebar-area {
    width: 25%;
    background: #E3F2FD;  /* Light blue */
}

#indexPageArea .main-content-area {
    width: 75%;
    padding: 24px;
}

/* ===============================
    MOBILE VIEW FIXES
================================= */
@media (max-width: 767px) {
    #indexPageArea .container-fluid > .row {
        display: block !important;
    }
    #indexPageArea .col-md-3, 
    #indexPageArea .col-md-9 {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        display: block !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    #indexPageArea #Button-placeholder {
        min-height: 0 !important;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    #indexPageArea .editor-output-block {
        margin-top: 10px;
        padding-top: 10px;
    }
}


/* ===============================
    RESPONSIVE TOP PADDING
================================= */
.responsive-padding {
    padding-top: 90px;
}

@media (max-width: 992px) {
    .responsive-padding {
        padding-top: 70px;
    }
}

@media (max-width: 768px) {
    .responsive-padding {
        padding-top: 60px;
    }
}

@media (max-width: 576px) {
    .responsive-padding {
        padding-top: 50px;
    }
}


 .botao {
  width: 125px;
  height: 45px;
  border-radius: 20px;
  border: none;
  box-shadow: 1px 1px rgba(107, 221, 215, 0.37);
  padding: 5px 10px;
  background-color: rgb(59, 190, 230);
  color: #fff;
  font-family: Roboto, sans-serif;
  font-weight: 505;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  filter: drop-shadow(0 0 10px rgba(59, 190, 230, 0.568));
  transition: 0.5s linear;
  position: relative;
  overflow: hidden;
}

.botao .mysvg {
  display: none;
}

.botao.active {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: 0.5s linear;
}

.botao.active .texto {
  display: none;
}

.botao.active .mysvg {
  display: inline;
}

.botao.active::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 3px;
  background-color: rgb(59, 190, 230);
  margin-left: -20px;
  animation: animate 0.9s linear infinite;
}



.botao.active::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: 100%;
  height: 100%;
  border: 3.5px solid transparent;
  border-top: 3.5px solid #fff;
  border-right: 3.5px solid #fff;
  border-radius: 50%;
  animation: animateC 2s linear infinite;
} 

@keyframes animateC {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes animate {
  0% { transform: translateY(0); }
  100% { transform: translateY(20px); }
} 


.botao.active .texto {
  display: none;
}

.botao.active .mysvg {
  display: inline;
}

.botao.active::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 3px;
  background-color: rgb(59, 190, 230); /* matches button color */
  margin-left: -20px;
  animation: animate 0.9s linear infinite;
}

.botao.active::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: 100%;
  height: 100%;
  border: 3.5px solid transparent;
  border-top: 3.5px solid rgb(59, 190, 230);  /* matches button color */
  border-right: 3.5px solid rgb(59, 190, 230); /* matches button color */
  border-radius: 50%;
  animation: animateC 2s linear infinite;
}

@keyframes animateC {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes animate {
  0% { transform: translateY(0); }
  100% { transform: translateY(20px); }
} 