@tailwind base;
@tailwind components;
@tailwind utilities;

body, html {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #f0f0f0;
}
.container {
    display: flex;
    flex-direction: column;
    height: 100%;
    
}
header {
    border-radius: 2px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #333;
    color: white;
    padding: 1rem;
    position: relative;
}
h1 {
    margin: 0;
}
.main-content {
    display: flex;
    flex-grow: 1;
}
.column {
    /* flex: 1; */
    padding: 1rem;
    border: 1px solid #ddd;
    background-color: white;
    margin: 0.5rem;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.column1 {
    flex: 1;
}
.column2 {
    flex: 3;
}
.column3 {
    flex: 2;
}
.btn {
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.btn:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}
.payment-btn {
    background-color: #4CAF50;
    position: absolute;
    top: 1rem;
    right: 1rem;
}
.logout-btn {
    background-color: #f44336;
    position: absolute;
    bottom: 10px;
}
.user-welcome {
    position: absolute;
    bottom: 10px;
    left: 6vw;
}
.document-list-container {
    flex-grow: 1;
    overflow-y: auto;   
    margin-bottom: 10px;
    max-height: 80vh; /* Limit the height */
    border: 1px solid #ddd; /* Add a border for visibility */
    border-radius: 4px; /* Rounded corners */
    padding: 5px; /* Add some padding */
}
.document-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.login-container {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}
h1 {
    margin-bottom: 2rem;
    color: #333;
}
.google-btn {
    display: inline-block;
    width: 191px;
    height: 46px;
    background-image: url('/assets/img/branding_guideline_sample_lt_sq_lg.svg');
    background-repeat: no-repeat;
    background-size: contain;
}
.google-btn:hover {
    background-image: url('/assets/img/branding_guideline_sample_nt_sq_lg.svg');
}
.google-btn:active {
    background-image: url('/assets/img/branding_guideline_sample_nt_sq_lg.svg');
}

.document-tree {
    margin-top: 10px;
    overflow-y: auto;
    max-height: 64vh; /* Adjust as needed */
}

.tree-node {
    margin-bottom: 5px;
}

.tree-parent {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.tree-children {
    list-style-type: none;
    padding-left: 20px;
    max-height: 200px; /* Limit the height of expanded lists */
    overflow-y: auto;
}

.tree-children li {
    margin-bottom: 5px;
}



.toggle-icon {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.tree-parent {
    cursor: pointer;
}

.tree-children.collapsed {
    display: none;
}
/* 
#column2-content {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: monospace;
} */

.document-content {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.document-content h3 {
    color: #2c3e50;
    margin-top: 20px;
    margin-bottom: 10px;
}

.document-content ul {
    padding-left: 20px;
}

.document-content li {
    margin-bottom: 5px;
}

.document-content p {
    margin-bottom: 10px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background-color: #d32f2f;
}
