body {
    font-family: Arial, sans-serif;
}
#indigo-doc-ai {
    padding: 30px;
    background: #f9f9f9;
    border-radius: 20px;
}
#indigo-doc-ai textarea {
    width: 100%;
    height: 100px;
    margin-bottom: 20px;
    padding: 0.7rem 1rem;
    border-radius: 1rem;
    border: 2px solid #2383e2;
    background-color: #ffffff;
    box-shadow: 0 4px 8px #2383e233, 0 4px 12px #2383e222;
    font-size: 16px;
}

.genrateBtn img {
  width: 18px; 
  height: 18px;
  object-fit: contain;

}

#indigo-doc-ai button {
    font-size: 14px;
      display: inline-flex;         
  align-items: center;       
  gap: 6px;             
  padding: 8px 14px;
    padding: 12px 42px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 21px;
    text-decoration: none!important;
    cursor: pointer;
    background-image: linear-gradient(to right, #7a8bed 0%, #39f 51%, #407be4db 100%)
}
#indigo-doc-ai #output-container {
    margin-top: 30px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
#indigo-doc-ai .tinymce-editor {
    min-height: 300px !important;
}

#indigo-doc-ai .tox.tox-tinymce button{
    background: #ffffff;    
}

.tox .tox-tbtn--enabled, .tox .tox-tbtn--enabled:hover {
    background: #c8cbcf !important;
    border: 0;
    box-shadow: none;
    color: #222f3e;
}


.btn-grad {background-image: linear-gradient(to right, #7a8bed 0%, #39f 51%, #407be4db 100%);}
.btn-grad {
    font-size: 14px;
    padding: 9px 42px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    text-decoration: none !important;
    cursor: pointer;
}

.btn-grad:hover, #indigo-doc-ai button:hover {
background-position: right center; /* change the direction of the change here */
color: #fff;
text-decoration: none;
}

span.credit-highlight {
    font-size: 12px;
    font-style: italic;
    margin-left: 10px;
}
a.button-grad {
    font-size: 14px;
    padding: 9px 42px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    text-decoration: none !important;
    cursor: pointer;
    background-image: linear-gradient(to right, #7a8bed 0%, #39f 51%, #407be4db 100%);
}

.doc-size-options {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    flex-wrap: wrap;
}
.doc-size-option {
    flex: 1;
    min-width: 180px;
    border: 2px solid #0c83f9;
    border-radius: 12px;
    padding: 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    
}
.doc-size-option:hover {
    border-color: #007bff;
    background: #f5f9ff;
}
.doc-size-option.active {
    border-color: #007bff;
    background: #e8f1ff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.doc-size-option h4 {
    margin: 0;
    font-size: 12px;
    font-weight: bold;
}
.doc-size-option p {
    margin:0;
    font-size: 11px!important;
    color: #444;
        line-height: 17px;
}
.SelectOption{
        border: 2px solid #2a71ff!important;
}
p#creditCostInfo {
    font-size: 15px !important;
    line-height: 0pt;
    margin: 30px 0;
}

/* Blink + Bulge animation */
@keyframes blinkBorder {
  0% {
    border-color: #ffe417;
    background-color: #fff188a3;
    transform: scale(1);
    box-shadow: 0 0 2px rgba(255, 228, 23, 0.6);
  }
  50% {
    border-color: #fff;
    background-color: #fff0824f;
    transform: scale(1.03); /* slight bulge */
    box-shadow: 0 0 4px rgba(255, 228, 23, 0.9);
  }
  100% {
    border-color: #ffe417;
    background-color: #fff188a3;
    transform: scale(1);
    box-shadow: 0 0 2px rgba(255, 228, 23, 0.6);
  }
}

/* Apply effect */
.doc-size-option-error {
  animation: blinkBorder 1s infinite;
  border: 2px solid #ffec5f !important;
  border-radius: 12px;
  transition: transform 0.2s ease;
}

.alert-error{
    padding: 10px;
   background-image: linear-gradient(to right, #f0981947 0%, #EDDE5D  51%, #f0981947  100%);
    margin-bottom: 15px;
}
.alert-success{
    padding: 10px;
    /* margin-bottom: 15px;
    background-image: linear-gradient(to right, #66e1ed6b 0%, #1684ce66 51%, #66e1ed6b 100%); */
}
.alert-success-msg {
    padding: 10px;
    background-image: linear-gradient(to right, #66e1ed6b 0%, #1684ce66 51%, #66e1ed6b 100%);
    text-align: center;
    font-weight: 500;
}
