Adithyavj_SuggestionApp/SuggestionAppUI/wwwroot/css/site.css
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,700;0,900;1,700;1,900&display=swap');

html, body {
    font-family: 'Roboto', sans-serif;
    font-size: 18px
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: #FFFFFF;
}

body {
    background: url(../images/SuggestionPageBackground.png) no-repeat center center fixed;
    background-size: cover;
    height: 100%;
}

h1 {
    padding-top: 1rem;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #FFFFFF;
    text-decoration: none;
}

    a:hover, btn-link:hover {
        color: #FFFFFF;
        text-decoration: underline;
    }

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    /*outline: 1px solid #26b050;*/
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIz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DY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/* Custom css classes */
.page-heading {
    text-align: center;    
}

.suggestion-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.suggest-btn {
    font-family: 'Montserrat', sans-serif;
    border-width: 3px;
    border-radius: 10px;
    padding-left: 2rem;
    padding-right: 2rem;
    font-weight: 900;
}

.btn-outline-light:hover {
    color: #39BAD8;
    background-color: #FFFFFF;
    border-color: #FFFFFF;
}

.suggestions-count {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
}

.btn-order {
    background-color: #FFFFFF;
    border: 0px solid #DDDDDD;
    border-radius: 10px;
}

.btn:focus,
.form-control:focus {
    box-shadow: none;
}

.sort-selected {
    background-color: #DDDDDD;
    color: #000000;
    font-weight: 700;
}
    .sort-selected:hover {
        color: #000000;
    }

.search-box {
    --bs-gutter-x: 3.5rem;
}

.rounded-control {
    border-radius: 10px;
}

/* Categories section */
.categories {
    margin: 1rem;
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 1rem;
}

.categories div {
    margin-top: 1rem;
}
    .categories div:hover {
        cursor: pointer;
    }

.selected-category {
    font-weight: 700;
}

/* Status section */
.statuses {
    margin: 1rem;
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 1rem;
}

.statuses div {
    margin-top: 1rem;
}
    .statuses div:hover {
        cursor: pointer;
    }

.selected-status {
    font-weight: 700;
}

/* Suggestion section */
.suggestion-entry {
    display: grid;
    grid-template-columns: 142px 1fr 45px;
    border-radius: 20px;
    margin: 20px 0;
    box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
}

.suggestion-entry-no-votes,
.suggestion-entry-voted,
.suggestion-entry-not-voted {
    text-align: center;
    border-right: 3px #39BAD8 solid;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    background-color: #39BAD8;
    color: #FFFFFF;
    display: flex;
    flex-flow: column;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    min-height: 142px;
    cursor: pointer;
}

.suggestion-entry-no-votes {
    background-color: #DDDDDD;
    color: #FFFFFF;
    border-color: #DDDDDD;
}

.suggestion-entry-voted {
    background-color: #39BAD8;
    color: #FFFFFF;
}

.suggestion-entry-not-voted {
    background-color: #FFFFFF;
    color: #39BAD8;
}

.suggestion-entry-text {
    display: flex;
    flex-direction: column;
    padding: 10px;
    padding-left: 20px;
    background-color: #FFFFFF;
}

.suggestion-entry-text-title {
    flex-grow: 1;
    padding-top: 10px;
}

.suggestion-entry-text-category {
    text-transform: uppercase;
    color: darkgray;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    flex: 1;
    display: flex;
    align-items: flex-end;
}

.suggestion-entry-status {
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
    display: flex;
    padding-top: 1rem;
    padding-left: 0.2rem;
    padding-bottom: 1rem;
    padding-right: 1rem;
}

.suggestion-entry-status-completed {
    background-color: #B5D43A;
    border: 1px #B5D43A solid;
}

.suggestion-entry-status-watching {
    background-color: #E9345C;
    border: 1px #E9345C solid;
}

.suggestion-entry-status-upcoming {
    background-color: #835581;
    border: 1px #835581 solid;
}

.suggestion-entry-status-dismissed {
    background-color: #F9C30B;
    border: 1px #F9C30B solid;
}

.suggestion-entry-status-none {
    background-color: #FFFFFF;
    border: 1px #FFFFFF solid;
}

.suggestion-entry-status-text {
    text-transform: uppercase;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: #FFFFFF;
    padding: 5px;
    text-align: center;
    line-height: 1.75;
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 1.2px;
}

.nav-links {
    display: flex;
    text-align: center;
    justify-content: flex-end;
}

.login-link {
    padding-left: 1rem;
}

.form-layout {
    background-color: #FFFFFF;
    border-radius: 15px;
    padding: 2rem;
}

    .form-layout a {
        font-weight: 700;
        color: #39BAD8;
    }

        .form-layout a:hover {
            font-weight: 700;
            color: #39BAD8;
            text-decoration: underline;
        }

.close-button-section {
    display: flex;
    justify-content: flex-end;
}

.input-section {
    margin-bottom: 2rem;
}

.input-description {
    margin-block: 0.5rem;
}

.radio-item-group input[type="radio"] {
    display: none;
}

.radio-item-group label {
    border-color: #39BAD8;
    border-width: 1px;
    padding: 0.3rem 1.5rem;
    border-radius: 10px;
    width: 100%;
    border-style: solid;
}

.radio-item-group input[type="radio"]:checked + label {
    background-color: #39BAD8;
    color: #FFFFFF;
    width: 100%;
    border: 1px #39BAD8 solid;
}

.radio-item-group {
    margin: 0.5rem;
}

.center-children {
    display: flex;
    justify-content: center;
}

.btn-main {
    color: #FFFFFF;
    background-color: #39BAD8;
    padding-left: 2rem;
    padding-right: 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    border-radius: 10px;
    border-width: 3px;
}

    .btn-main:hover {
        color: #39BAD8;
        border-color: #39BAD8;
        background-color: #FFFFFF;
        border-width: 3px;
    }

.suggestion-detail-row {
    --bs-gutter-x: 0;
}

.suggestion-detail {
    display: grid;
    grid-template-columns: 100px 1fr;
    padding: 0;
}

.suggestion-detail-no-votes,
.suggestion-detail-voted,
.suggestion-detail-not-voted {
    border: 3px solid #39BAD8;
    text-align: center;
    line-height: 1rem;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 0.8rem;
}

.suggestion-detail-no-votes {
    background-color: #DDDDDD;
    color: #FFFFFF;
    border-color: #DDDDDD;
}

.suggestion-detail-voted {
    background-color: #39BAD8;
    color: #FFFFFF;
}

.suggestion-detail-not-voted {
    background-color: #FFFFFF;
    color: #39BAD8;
}

.detail-upvote {
    font-size: 2.7rem;
}

.entry-upvote {
    font-size: 3rem;
}

.suggestion-detail-date {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.suggestion-detail-text {
    display: flex;
    flex-direction: column;
    padding-left: 27px;
    padding-right: 10px;
    padding-top: 0;
    padding-bottom: 10px;
}

.suggestion-detail-suggestion {
    font-size: 1.25rem;
}

.suggestion-detail-author {
    color: #A9A9A9;
}

.suggestion-results {
    display: grid;
    grid-template-columns: 50px 1fr;
    padding: 0;
    margin-top: 20px;
}

.suggestion-detail-status-completed {
    background-color: #B5D43A;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.suggestion-detail-status-watching {
    background-color: #E9354C;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.suggestion-detail-status-upcoming {
    background-color: #835581;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.suggestion-detail-status-dismissed {
    background-color: #F9C30B;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.suggestion-detail-status-none {
    background-color: #FFFFFF;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.suggestion-detail-status-section {
    padding: 1.5rem;
}

.suggestion-detail-status {
    flex-grow: 1;
}

.suggestion-detail-owner-notes {
    padding-bottom: 20px;
}

.submission {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.btn-approve,
.btn-reject {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    border-radius: 10px;
    border-width: 3px;
}

.btn-approve {
    color: #FFFFFF;
    background-color: #B5D43A;
    border-color: #FFFFFF;
}

    .btn-approve:hover {
        color: #B5D43A;
        border-color: #B5D43A;
        background-color: #FFFFFF;
    }

.btn-reject {
    color: #FFFFFF;
    background-color: #E9354C;
    border-color: #FFFFFF;
}

    .btn-reject:hover {
        color: #E9354C;
        border-color: #E9354C;
        background-color: #FFFFFF;
    }

.approval-edit-form {
    display: flex;
}

.approval-edit-field {
    flex: 1;
    border-radius: 10px;
}

.submission-edit-approve {
    color: #B5D43A;
}
    .submission-edit-approve:hover {
        font-weight: 700;
    }

.submission-edit-reject {
    color: #E9354C;
}
    .submission-edit-reject:hover {
        font-weight: 700;
    }

.submission-edit-icon {
    padding-left: 1rem;
    padding-right: 1rem;
}
    .submission-edit-icon:hover {
        color: #39BAD8;
    }

.my-submission-heading {
    color: #000000;
    text-transform: uppercase;
}

.my-submission-text {
    margin-bottom: 0;
    padding-left: 1rem;
}

.my-submission-seperator {
    color: #A9A9A9;
    height: 2px;
    opacity: 1;
}

.suggestion-entry-bottom {
    display: flex;
}

.btn-archive {
    border: 0;
    background-color: #FFFFFF;
    padding: 0 10px;
    flex: unset;
}

.btn-archive-confirm,
.btn-archive-reject {
    text-transform: uppercase;
    color: darkgray;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    flex: 1;
}

.btn-archive-confirm {
    color: #E9354C;
}

.admin-details {
    margin-top: 20px;
}

.admin-set-statuses {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.btn-status-completed:hover {
    color: #B5D43A;
}

.btn-status-watching:hover {
    color: #E9354C;
}

.btn-status-upcoming:hover {
    color: #835581;
}

.btn-status-dismissed:hover {
    color: #F9C30B;
}

/* Media Queries */
@media screen and (max-width: 575px) {
    .btn-approve,
    .btn-reject {
        width: 45%;
    }

    .suggestion-entry {
        grid-template-columns: 100px 1fr 45px;
    }

    .suggestion-entry-no-votes,
    .suggestion-entry-voted,
    .suggestion-entry-not-voted {
        min-height: 100px;
    }
}

@media screen and (max-width: 767px) {
    .search-box {
        --bs-gutter-x: inherit;
        margin-top: 10px;
    }

    .nav-links {
        justify-content: center;
    }

    .login-link {
        flex: 1;
        padding-left: 0;
    }

    .categories,
    .statuses {
        margin: 0;
        margin-top: 10px;
        padding: 0.375rem;
        padding-left: 0.75rem;
    }

    .suggestion-container {
        margin-bottom: 1rem;
    }

    .create-form,
    .detail-form {
        margin: 0;
        margin-bottom: 1rem;
    }

    .form-layout {
        padding: 1rem;
    }

    .submission {
        margin: 0;
        padding: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .suggestion-results {
        padding: 0;
        margin-top: 0;
    }

    .admin-details {
        margin-top: 0;
    }

    .suggestion-detail-status-section {
        padding: 0.5rem;
    }

    .suggestion-detail-suggestion {
        font-size: 1rem;
    }

    .suggestion-detail-text {
        padding-left: 12px;
    }

    .suggestion-entry-text-category {
        padding-top: 0.5rem;
    }
}

