* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

header {
    width: 100%;
    height: 70px;
    background: #454343;
}

header div {
    width: 70%;
    height: 100%;
    border-radius: 0 45px 45px 0;
    background: #e2001a;
    padding-left: 50px;
    display: flex;
    align-items: center;
}

header div img {
    height: 40px;
}

footer {
    width: 100%;
    height: 45px;
    background: #454343;
    color: white;
    padding: 0 30px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

footer img {
    height: 20px;
}

main {
    width: 100%;
    height: calc(100vh - 115px);
    background-color: #f6f7fd;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ideaMainBtn {
    max-width: 280px;
    width: 100%;
    min-height: 30px;
    height: 30px;
    border: none;
    border-radius: 5px;
    background-color: #c50017;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.ideaMainBtn:hover {
    background-color: #9b0012;
}

.rmFileBtn {
    width: 40px;
    border: none;
    border-radius: 10px;
    background-color: #c50017;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.rmFileBtn:hover {
    background-color: #9b0012;
}

.suggestForm {
    flex: 1;
    max-width: 1200px;
    height: calc(100% - 80px);
    margin: 40px 0;
    background-color: #dddddd;
    display: flex;
    flex-direction: row;
    box-shadow: 15px 15px 10px grey;
    border: 1px solid grey;
}

.formArea,
.suggestForm img {
    width: 50%;
    height: 100%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.formArea form {
    width: calc(100% - 70px);
    height: calc(100% - 70px);
    background: #f6f7fd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    gap: 15px;
    overflow-y: auto;
    border: 1px solid grey;
}

.formArea .messageArea {
    width: calc(100% - 70px);
    height: calc(100% - 70px);
    background: #f6f7fd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 15px;
    overflow-y: auto;
    border: 1px solid grey;
}

.formArea form h3 {
    align-self: flex-start;
}

.requiredSymb {
    color: #e2001a;
    font-weight: 700;
}

.inputDiv {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 5px;
}

.inputDivAgree {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 5px;
}

.inputFileSelRm {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.inputDiv input {
    border-radius: 10px;
    height: 40px;
    border: 1px solid black;
    padding: 5px 10px;
}

.inputDiv textarea {
    min-width: 100%;
    max-width: 100%;
    border-radius: 10px;
    min-height: 100px;
    padding: 5px 10px;
    height: -webkit-fill-available;
}
.inputDiv select {
    border-radius: 10px;
    height: 40px;
    border: 1px solid black;
    padding: 5px 10px;
}

#fileLa {
    border-radius: 10px;
    height: 40px;
    border: 1px solid black;
    padding: 5px 10px;
    background-color: white;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#fileLa:hover {
    background-color: #dadada;
}

.adminForm {
    margin-top: 60px;
    width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.adminForm img {
    width: 30%;
}

.adminLoginBtn {
    max-width: 280px;
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 5px;
    background-color: #454343;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.adminLoginBtn:hover {
    background-color: #6d6d6d;
}

.adminIdeasForm {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding-bottom: 10px;
}

.adminIdeasNav {
    width: 100%;
    height: 40px;
    background: #b7b7b7;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: sticky;
    top: 0;
}

.navElements {
    height: 30px;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.searchBox {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.searchBox img{
    height: 100%;
    padding: 5px 8px;
    background: white;
    border: none;
    border-radius: 5px 0 0 5px;
    cursor: text;
}

.searchBox input {
    height: 100%;
    width: 250px;
    padding: 0 7px;
    background: white;
    border: none;
    border-radius: 0 5px 5px 0;
}

.paginationEls {
    display: flex;
    flex-direction: row;
    gap: 5px;
    justify-content: center;
    align-items: center;
}

.paginationEls button {
    height: 100%;
    width: 30px;
    border: 1px solid #454343;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    padding-bottom: 3px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.paginationEls button:hover {
    background: #cccccc;
}

.paginationEls a {
    text-decoration: none;
    height: 30px;
}

.paginationEls span {
    height: 100%;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 2px;
}

.rowIdea {
    width: calc(100% - 40px);
    min-height: 100px;
    background: transparent;
    border: 1px solid #b7b7b7;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.rowHead {
    width: 100%;
    height: 50px;
    background: #b7b7b7;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.rowHeadL,
.rowHeadR {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.rowActions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.rowActions a {
    background: white;
    padding: 5px 5px 1px 5px;
    border: 1px solid black;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.rowActions a:hover {
    background: #cccccc;
}

.rowActions img {
    height: 20px;
}

.rowBody {
    min-height: 50px;
    padding: 10px;
}

.rowTable {
    width: 100%;
}

.rowTable th {
    width: 120px;
    text-align: start;
}

@media screen and (max-width: 1150px) {
    .suggestForm img {
        display: none;
    }

    .formArea {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .formArea form {
        width: 100%;
        height: 100%;
        border: none;
    }

    .suggestForm {
        margin: 0;
        height: 100%;
    }

    .formArea .messageArea {
        width: 100%;
        height: 100%;
        border: none;
    }
}
.modalOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modalBox {
    width: 500px;
    max-width: calc(100% - 40px);
    background: #e9e9ee;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

    .modalBox h3 {
        margin: 0 0 15px 0;
    }

.modalField {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

    .modalField input {
        width: 100%;
        box-sizing: border-box;
        padding: 10px 12px;
        font-size: 14px;
        border: 1px solid #999;
        border-radius: 4px;
    }

.modalButtons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

    .modalButtons button {
        min-width: 100px;
        padding: 10px 16px;
        cursor: pointer;
    }