@charset "utf-8";

/* btn */
.btn {
    font-size: 1.2rem;
    color: var(--white);
}

.small-btn {
    width: 100px;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 1.3rem;
}

.comment-btn {
    padding: 10px;
    font-size: 1.3rem;
    border-radius: 0 5px 5px 0;
}

.comment-item-btn {
    font-size: 1.2rem;
}

.large-btn {
    width: 100%;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 1.3rem;
}

.icon-btn {
    padding: 5px;
    border-radius: 50%;
}

.close-btn {
    font-size: 1.6rem;
    font-weight: 900;
}

.exit-btn {
    position: absolute;
    top: 10px;
    right: 20px; 
    font-size: 1.6rem;
    font-weight: 900;
    border-radius: 4px;
    height: 30px;
    width: 40px;
    margin-bottom: 10px;
    cursor: pointer; 
}

.logout-btn {
    position: relative;
    font-size: 1.4rem;
}

.logout-btn::before {
    content: "";
    width: 1px;
    height: 10px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: #aaa;
}

.close-btn {
    color: #d6def6;
}

.blue-btn,
.blue-border-btn:hover {
    background-color: var(--blue);
    color: var(--white);
    transition: all 0.3s ease-in-out;
}

.red-btn,
.red-border-btn:hover {
    background-color: var(--red);
    color: var(--white);
    transition: all 0.3s ease-in-out;
}

.green-btn,
.green-border-btn:hover {
    background-color: var(--green);
    color: var(--white);
    transition: all 0.3s ease-in-out;
}

.orange-btn,
.orange-border-btn:hover {
    background-color: var(--orange);
    color: var(--white);
    transition: all 0.3s ease-in-out;
}

.darkg-btn,
.darkg-border-btn:hover {
    background-color: var(--dark);
    color: var(--white);
    transition: all 0.3s ease-in-out;
}

.gray-btn,
.gray-border-btn:hover {
    background-color: #eee;
    color: #333;
    transition: all 0.3s ease-in-out;
}


.blue-border-btn {
    border: 1px solid var(--blue);
    color: var(--blue);
    background-color: var(--white);
}

.red-border-btn {
    border: 1px solid var(--red);
    color: var(--red);
    background-color: var(--white);
}

.green-border-btn {
    border: 1px solid var(--green);
    color: var(--green);
    background-color: var(--white);
}

.orange-border-btn {
    border: 1px solid var(--orange);
    ;
    color: var(--orange);
    background-color: var(--white);
}

.darkg-border-btn {
    border: 1px solid #434343;
    color: #434343;
    background-color: var(--white);
}

.gray-border-btn {
    border: 1px solid #aaa;
    color: #aaa;
    background-color: var(--white);
}

.white-border-btn {
    border: 1px solid var(--white);
    color: var(--white);
    background-color: transparent;
}

.tp-btn {
    background-color: transparent;
    width: 15px;
    height: 15px;
    margin-left: 10px;
}

button:disabled {
    background-color: #eee;
    color: #333;
}


.full-input,
.full-select {
    width: 100%;
}


/* auto list */

.auto-list {
    position: absolute;
    bottom: 4px;
    left: 0;
    transform: translateY(100%);
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    border-radius: 0 0 5px 5px;
    border-top: 0;
    z-index: 1;
}

.search-icon {
    color: #6b6b6b;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    background-color: var(--white);
}

.option-icon {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    background-color: #aaa;
    line-height: 18px;
    text-align: center;
}

.option-icon svg {
    color: var(--white);
}

.auto-list li {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.auto-list li:last-child {
    margin-bottom: 0;
}

.abbreviation>p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 댓글컴포넌트 */
.comment-item {
    padding: 8px;
    padding-left: 8px;
    background-color: aliceblue;
    border-top: 1px solid #ddd;
}


.parents-nodes {
    padding-left: 8px;
}

.children-nodes {
    padding-left: 8px;
}

.comment-user,
.comment-text {
    font-size: 1.3rem;
}

.comment-date {
    color: var(--gray);
    font-size: 1.2;
}

.reply-zone {
    position: relative;
    margin-bottom: 10px;
}

.reply-input {
    border-radius: 50px;
}

.reply-btn {
    position: absolute;
    border-radius: 50px;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
}

/* 모달 */

.modalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modalWindow {
    width: 250px;
    min-height: 15%;
    background: white;
    padding: 20px;
    border-radius: 4px;
}

.imageModalWindow {
    position: relative;
    width: 70%;
    min-height: 15%;
    max-height: 70%;
    background: white;
    padding: 20px;
    border-radius: 4px;
    overflow: auto;
}

.alert-content{
    font-size: 1.4rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 10px;
}