/* 
 * Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
 * See LICENSE in the project root for license information.
 */

 html,
 body {
     width: 100%;
     height: 100%;
     margin: 0;
     padding: 0;
 }
 
 ul {
     margin: 0;
     padding: 0;
 }
 
 .ms-welcome__header {
    padding: 20px;
    padding-bottom: 30px;
    padding-top: 100px;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    align-items: center;
 }

 .ms-welcome__main {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex: 1 0 0;
    flex: 1 0 0;
    padding: 10px 20px;
 }
 
 .ms-welcome__main > h2 {
     width: 100%;
     text-align: center;
 }
 
 .ms-welcome__features {
     list-style-type: none;
     margin-top: 20px;
 }
 
 .ms-welcome__features.ms-List .ms-ListItem {
     padding-bottom: 20px;
     display: -webkit-flex;
     display: flex;
 }
 
 .ms-welcome__features.ms-List .ms-ListItem > .ms-Icon {
     margin-right: 10px;
 }
 
 .ms-welcome__action.ms-Button--hero {
     margin-top: 30px;
 }
 
.ms-Button.ms-Button--hero .ms-Button-label {
  color: #0078d7;
}

.ms-Button.ms-Button--hero:hover .ms-Button-label,
.ms-Button.ms-Button--hero:focus .ms-Button-label{
  color: #005a9e;
  cursor: pointer;
}

b {
    font-weight: bold;
}

.warning-ribbon {
    position: fixed; /* Stays at the top of the viewport */
    top: 0;
    left: 0;
    width: 100%;
    background-color: #39a30f; /* Light red background */
    color: #ffffff; /* Dark red text */
    text-align: center;
    padding: 10px;
    font-size: 16px;
    border-bottom: 2px solid #39a30f; /* Slightly darker border */
    z-index: 1000; /* Ensures the ribbon is on top of other content */
    opacity: 1;
    transition: opacity 1s ease-in-out; /* Smooth fade-out effect */
  }
  
  .warning-ribbon.fade-out {
    opacity: 0;
  }

  .warning-ribbon.fade-in {
    opacity: 1;
  }

  .container {
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    background-color: #fff;
    width: 90%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
h2 {
    margin-top: 0;
    font-size: 1.2em;
    color: #333;
}
.config-input {
    width: 92%;
    padding: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.config-button {
    width: 100%;
    padding: 10px;
    background-color: #113b51;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
}
.config-button:hover {
    background-color: #45788b;
}

#custom-textarea {
    width: auto; /* Adjust width based on content */
    max-width: 300px; /* Set a maximum width if needed */
    height: auto;
    min-height: 50px; /* Minimum height */
    overflow-wrap: break-word; /* Handle word wrapping */
    resize: none; /* Disable manual resizing */
    overflow-y: hidden; /* Hide vertical scrollbar */
  }

  #result-container {
    margin: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.output-item {
    padding: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.output-title {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.output-instruction {
    font-size: 1em;
    margin-bottom: 10px;
}

.tags-container {
    margin: 5px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tag {
    display: inline-block;
    background-color: #f1f1f1;
    color: #333;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 0.9em;
    border: 1px solid #ddd;
}

.change-button {
    padding: 5px 10px;
    background-color: #619ecf;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.change-button:hover {
    background-color: #3e76a1;
}

.locked-button {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
}

.locked-button:hover {
    background-color: #cccccc;
}

.instruction-textarea {
    width: 100%;
    height: 100px; /* Adjust height as needed */
    padding: 10px;
    margin-bottom: 10px;
    font-size: 1em;
    border: 3px solid #347dcf;
    border-radius: 4px;
    resize: vertical; /* Allow vertical resizing */
    box-sizing: border-box;
}

.save-button {
    padding: 5px 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    margin-left: 5px;
}

.save-button:hover {
    background-color: #218838;
}

.locked-button {
    background-color: #d3d3d3;
    color: #7d7d7d;
    cursor: not-allowed;
}

.author-name {
    font-weight:lighter;
    margin-right: 10px;
}

.spinner {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 0 auto 10px auto; /* Center the spinner */
  }