/* Loader Style */
@import url('https://fonts.googleapis.com/css2?family=Zain:wght@200;300;400;700;800;900&display=swap');

body {
    direction: rtl;
    text-align: right;
    background-color: #121212; /* Dark background */
    color: #e0e0e0; /* Light text color */
    font-family: "Zain", sans-serif;
    font-style: normal;
}

.app-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background-color: #1e1e1e; /* Dark container background */
    min-height: 100vh;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.app-header {
    text-align: center;
    margin-bottom: 20px;
}

.app-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #e0e0e0; /* Light title color */
}

.form-control, .btn {
    border-radius: 20px;
    background-color: #333; /* Dark input and button background */
    color: #e0e0e0; /* Light text color */
    border: 1px solid #444; /* Slightly lighter border */
}

.btn-add {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #6200ea; /* Primary button color */
    color: #fff; /* Button text color */
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.company-item, .section-item, .subsection-item {
    background-color: #3f3f3f;
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    border-top: 3px solid #0069d9;
}

.company-name, .section-name, .subsection-name {
    font-weight: bold;
    color: #e0e0e0; /* Light name color */
    margin-bottom: 5px;
}

.company-actions, .section-actions, .subsection-actions {
    margin-top: 10px;
}

.note-item {
    border: 1px solid #444; /* Darker border */
    border-radius: 8px;
    padding: 5px;
    margin: 15px 0;
    background-color: #2c2c2c; /* Dark note background */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.note-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.note-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #03a9f4; /* Highlight color */
    margin-bottom: 10px;
}

.note-actions {
    text-align: right;
    margin-top: 10px;
}

.note-actions .btn {
    margin-left: 5px;
    background-color: #333; /* Dark button background */
    color: #e0e0e0; /* Light button text */
}

.note-item p {
    margin: 5px 0;
}

.note-item .badge {
    font-size: 0.8rem;
    background-color: #333; /* Dark badge background */
    color: #e0e0e0; /* Light badge text */
}

/* Loader Style */
#loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 8px solid #333; /* Dark loader background */
    border-radius: 50%;
    border-top: 8px solid #03a9f4; /* Loader animation color */
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    z-index: 9999;
}

.list-group-item {
    position: relative;
    display: block;
    padding: .75rem 1.25rem;
    background-color: #1d1d1d;
    border: 1px solid rgba(0, 0, 0, .125);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loader-container {
    display: none;
}

/* Responsive Styles */
@media (max-width: 767.98px) {
    .item {
        margin: 10px 0;
    }
}


.navbar-nav{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px;
}

.navbar-nav a{
    color: #fff;
    text-decoration: none;
    font-size: 19px;
}

.navbar-nav a i{
    font-size: 19px;
}

.navbar-nav a:hover{
    color: #03a9f4;
}

.navbar-nav .active{
    color: #03a9f4;
}


.modal-content {
    background-color: #1e1e1e; /* Dark modal background */
    color: #e0e0e0; /* Light text color */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.modal-header .close {
    padding: 1rem 1rem;
    margin: -1rem auto -1rem -1rem;
    color: #e0e0e0; /* Light close icon color */
}