/* Navigation and header styling */
.menu-column {
    display: flex;
    justify-content: flex-end;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 700;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #ff6b6b;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff6b6b;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Page structure */
.page-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

header {
    text-align: left;
    margin-bottom: 20px;
}

/* Upload area */
.upload-area {
    border: 2px dashed #3498db;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #2980b9;
    background-color: #e3f2fd;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.upload-area.active {
    border-color: #2ecc71;
    background-color: #e8f5e8;
    transform: scale(1.02);
}

.upload-icon {
    font-size: 55px;
    color: #f39c12;
    margin-bottom: 15px;
    display: block;
}

.upload-area .message-text small {
    display: block;
    margin-top: 8px;
    color: #666;
    font-style: italic;
}

/* File information */
.file-info {
    margin: 20px 0;
    padding: 15px 20px;
    background-color: #EBF5FB;
    border-left: 4px solid #3498db;
    border-radius: 6px;
    display: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    margin-bottom: 15px;
}

button, .button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.25);
}

button:hover, .button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(41, 128, 185, 0.3);
}

#generateBtn {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

#generateBtn:hover:not(:disabled) {
    background: linear-gradient(135deg, #e67e22, #d35400);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

#resetBtn {
    background-color: #e74c3c;
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.25);
}

#resetBtn:hover {
    background-color: #c0392b;
    box-shadow: 0 6px 12px rgba(192, 57, 43, 0.3);
}

button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Progress bar */
.progress-container {
    display: none;
    margin: 25px 0;
}

.progress-bar {
    height: 12px;
    background-color: #ecf0f1;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress {
    height: 100%;
    background: linear-gradient(to right, #3498db, #2ecc71);
    width: 0%;
    transition: width 0.4s ease;
    border-radius: 6px;
}

#progressText {
    font-size: 14px;
    color: #7f8c8d;
    text-align: center;
}

/* Message boxes */
.error {
    color: #c0392b;
    background-color: #fadbd8;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    display: none;
    border-left: 4px solid #e74c3c;
    box-shadow: 0 2px 5px rgba(231, 76, 60, 0.2);
    font-weight: 500;
}

.success {
    background-color: #e7f7ed;
    border: 1px solid #2ecc71;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
    display: none;
    box-shadow: 0 3px 15px rgba(46, 204, 113, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    width: 100%;
}

.success-icon {
    font-size: 30px;
    color: #f39c12;
    margin-right: 10px;
}

.success-title {
    font-size: 18px;
    font-weight: 600;
    color: #f39c12;
}

.file-stats {
    display: flex;
    justify-content: center;
    margin: 10px 0 0 0;
    font-size: 13px;
    color: #555;
    width: 100%;
}

.file-stats div {
    padding: 0 15px;
    border-right: 1px solid #ddd;
    text-align: center;
}

.file-stats div:last-child {
    border-right: none;
}

.file-stats .stat-value {
    font-weight: 600;
    font-size: 16px;
    display: block;
    margin-top: 5px;
    color: #333;
}

/* Select styling */
select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 13px;
    color: #333;
    box-sizing: border-box;
}

select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* Base container styles */
.info-container-base {
    max-width: 510px;
    padding: 30px 30px 38px;
    border: none;
    border-radius: 8px
box-shadow: 0 15px 30px rgba(0,0,0,0.07);
   background-color: #ffffff;
   position: relative;
}

/* Accent bar base style - positioned at bottom */
.accent-bar {
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   border-bottom-left-radius: 8px;
   border-bottom-right-radius: 8px;
}

/* Tricolor bar styles */
.accent-bar.tricolor-bgr {
   background: linear-gradient(to right, 
       #3498db 0%, #3498db 33.33%, 
       #2ecc71 33.33%, #2ecc71 66.66%, 
       #e74c3c 66.66%, #e74c3c 100%);
   height: 6px;
}

.accent-bar.tricolor-gry {
   background: linear-gradient(to right, 
       #2ecc71 0%, #2ecc71 33.33%, 
       #e74c3c 33.33%, #e74c3c 66.66%, 
       #f1c40f 66.66%, #f1c40f 100%);
   height: 5px;
}

/* Monocolor bar styles */
.accent-bar.blue {
   background-color: #3498db;
   height: 6px;
}

.accent-bar.green {
   background-color: #2ecc71;
   height: 5px;
}

.accent-bar.red {
   background-color: #e74c3c;
   height: 6px;
}

.accent-bar.yellow {
   background-color: #f1c40f;
   height: 6px;
}

/* Full width content wrapper */
.full-width-wrapper {
   display: flex;
   flex-direction: column;
   gap: 25px;
   width: 100%;
}

/* Full width info container */
.info-container-full {
   width: 100%;
   padding: 30px 30px 38px;
   border: none;
   border-radius: 8px;
   box-shadow: 0 15px 30px rgba(0,0,0,0.07);
   background-color: #ffffff;
   position: relative;
}

/* Modified content row */
.content-row-2 {
   padding: 30px 0;
   background-color: #f5f5f5;
   width: 100%;
}

/* Improved bullet styling for lists */
.info-container-full ol,
.info-container-full ul {
   padding-left: 0;
   list-style-position: inside;
   margin: 15px 0;
}

/* Custom styling for ordered lists */
.info-container-full ol {
   counter-reset: item;
   list-style-type: none;
}

.info-container-full ol li {
   position: relative;
   padding-left: 45px;
   margin-bottom: 18px;
   counter-increment: item;
}

.info-container-full ol li:before {
   content: counter(item);
   position: absolute;
   left: 0;
   top: 50%;
   transform: translateY(-50%);
   width: 34px;
   height: 34px;
   background: #2eb5cc;
   color: white;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-weight: bold;
   font-size: 16px;
   box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.info-container-full ol li:last-child {
   margin-bottom: 0;
}

/* Custom styling for unordered lists */
.info-container-full ul {
   list-style-type: none;
}

.info-container-full ul li {
   position: relative;
   padding-left: 28px;
   margin-bottom: 12px;
}

.info-container-full ul li:before {
   content: "";
   position: absolute;
   left: 0;
   top: 8px;
   width: 12px;
   height: 12px;
   background-color: #f1c40f;
   border-radius: 3px;
}

/* Different colors for list items */
.info-container-full ul li:nth-child(1):before {
   background-color: #2ecc71;
}

.info-container-full ul li:nth-child(2):before {
   background-color: #3498db;
}

.info-container-full ul li:nth-child(3):before {
   background-color: #f1c40f;
}

.info-container-full ul li:nth-child(4):before {
   background-color: #e74c3c;
}

/* FAQ section */
.info-box {
   margin: 40px auto;
   max-width: 100%;
   background-color: #f8f9fa;
   border-radius: 10px;
   border: 1px solid #e0e0e0;
   box-shadow: 0 4px 12px rgba(0,0,0,0.08);
   overflow: hidden;
}

.info-box-header {
   background-color: #73DDFD;
   color: #141d31;
   padding: 15px 20px;
   font-size: 1.1rem;
   font-weight: 600;
   text-align: center;
}

.faq-item {
   margin-bottom: 10px;
   border: 1px solid #e0e0e0;
   border-radius: 4px;
}

.faq-question {
   padding: 15px;
   background-color: #f9f9f9;
   cursor: pointer;
   font-weight: bold;
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.faq-question.active {
   background-color: #e9e9e9;
}

.faq-answer {
   padding: 0 15px;
   overflow: hidden;
   background-color: #fff;
}

.faq-toggle {
   font-size: 18px;
   font-weight: bold;
}

/* Responsive design */
@media (max-width: 768px) {
   .header-row {
       flex-direction: column;
       align-items: center;
   }
   
   .menu-column {
       margin-top: 15px;
   }
   
   .main-nav li {
       margin: 0 10px;
   }
   
   .upload-area {
       padding: 25px 15px;
   }
   
   .upload-area .message-text h3 {
       font-size: 16px;
       margin-bottom: 8px;
   }
   
   .upload-area .message-text p {
       font-size: 13px;
       margin: 5px 0;
   }
   
   .file-stats {
       flex-direction: column;
   }
   
   .file-stats div {
       padding: 10px 0;
       border-right: none;
       border-bottom: 1px solid #ddd;
   }
   
   .file-stats div:last-child {
       border-bottom: none;
   }
   
   .button-group {
       flex-direction: column;
       gap: 10px;
   }
   
   button, .button {
       width: 100%;
       padding: 12px 20px;
   }
   
   .info-container-full {
       padding: 20px 20px 30px;
   }
   
   .info-container-full ol li {
       padding-left: 40px;
   }
   
   .info-container-full ol li:before {
       width: 25px;
       height: 25px;
       font-size: 14px;
   }
   
   .info-container-full ul li {
       padding-left: 22px;
   }
   
   .info-container-full ul li:before {
       width: 10px;
       height: 10px;
   }
}
