/* 
 * 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;
    color: var(--ee-textPrimary) !important;
}

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-Grid {
    width: 100%;
    padding: 0 !important;
}

.upload-container {
    border: 2px dashed var(--ee-brandPrimary);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    background-color: var(--ee-colorTheme3);
    border-radius: 5px;
}

.upload-container:hover {
    background-color: var(--ee-colorTheme2);
}

.file-list {
    margin: 15px 0 15px 0;
    list-style-type: none;
    padding: 0;
}

.file-list li {
    border: 1px solid var(--ee-colorTheme2);
    padding: 8px;
    margin-top: 5px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--ee-colorRed);
    cursor: pointer;
    font-size: 12px;
    width: auto;
}

.completed-btn {
    background: none;
    border: none;
    color: var(--ee-colorGreen);
    cursor: pointer;
    font-size: 16px;
    width: auto;
}

.process-btn {
    width: 100%;
    padding: 10px 20px;
    background-color: var(--ee-brandPrimary);
    color: rgb(var(--ee-colorWhite-rgb));
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.process-btn:hover {
    background-color: var(--ee-brandSecondary);
}

.process-btn:disabled {
    background-color: var(--ee-colorTheme2);
    cursor: not-allowed;
    color: rgba(var(--ee-colorWhite-rgb), 0.6);
}


button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    width: 100%;
}

button.pending {
    background-color: #fff3cd;
    /* Light yellow background */
    color: #856404;
    /* Dark yellow text */
}

button.success {
    background-color: #d4edda;
    /* Light green background */
    color: #155724;
    /* Dark green text */
}

button.failure {
    background-color: #f8d7da;
    /* Light red background */
    color: #721c24;
    /* Dark red text */
}


.hide {
    display: none;
}

.validationSection {
    /* margin-top: 15px;
     */
    justify-content: space-between;
    display: flex;
    font-size: 12px;
}

.validationSection .pass {
    color: var(--ee-colorGreen);
}

.validationSection .failed {
    color: var(--ee-colorRed);
}

/* Additional styles for settings section */
.settings-section {
    padding: 20px;
    background-color: var(--ee-colorTheme3);
    border-radius: 5px;
    margin-top: 20px;
}

.filesystem-settings,
.qbo-settings {
    margin-bottom: 20px;
}

h4 {
    font-weight: bold;
    color: var(--ee-brandPrimary);
    margin-bottom: 10px;
}

label {
    margin-bottom: 10px;
    display: block;
}

select,
input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--ee-colorTheme2);
    border-radius: 4px;
    box-sizing: border-box;
}

.settings-btn {
    padding: 10px 20px;
    background-color: var(--ee-brandPrimary);
    color: rgb(var(--ee-colorWhite-rgb));
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

.settings-btn:hover {
    background-color: var(--ee-brandSecondary);
}

#qboInputs {
    margin-left: 20px;
    margin-top: 10px;
}

.authenticationMsg {
    text-align: center;
}

.authenticationMsg label {
    display: inline;
}

.authenticationMsg.error {
    color: var(--ee-colorRed);
}

.authenticationMsg.error .ms-Icon--CheckboxComposite {
    display: none;
}

.authenticationMsg.success .ms-Icon--BlockedSite {
    display: none;
}

.authenticationMsg.success {
    color: var(--ee-colorGreen);
}