.parallelogram-button {
    display: inline-block;
    padding: 1em 2em;
    color: white;
    border: none;
    cursor: pointer;
    transform: skew(-45deg);
    font-family: sans-serif;
    font-size: 1rem;
    text-align: center;
    border-radius: 0px;
}

.parallelogram-button span {
    display: inline-block;
    transform: skew(45deg); /* Unskew the text */
}


/* Color modifiers */
#navbar .parallelogram-button{
    padding: 0.5em 1.5em;
}

/* Color modifiers */
.parallelogram-button.green {
    background-color: #13A64A;
}

.parallelogram-button.green:hover {
    background-color: #0E8D5A;
}

.parallelogram-button.green:disabled {
    background-color: #0A756A;
}


.parallelogram-button.blue {
    background-color: #004389;
    border-radius: 0px; /* to override auth.css*/
}


.project-popup {
	/* position: fixed; */
	top: 0; left: 0;
	right: 0; bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.project-popup-content {
	background: white;
	padding: 20px;
	border-radius: 6px;
	text-align: center;
}

/*  top-left and bottom-right corners */
.cut-corner { 
    clip-path: polygon(45px 0, 100% 0, 100% calc(100% - 45px), calc(100% - 45px) 100%, 0 100%, 0 45px);
}

.cut-corner-35 { 
    clip-path: polygon(35px 0, 100% 0, 100% calc(100% - 35px), calc(100% - 35px) 100%, 0 100%, 0 35px);
}

.cut-corner-25 { 
    clip-path: polygon(25px 0, 100% 0, 100% calc(100% - 25px), calc(100% - 25px) 100%, 0 100%, 0 25px);
}

.rounded-button {
    color: white;
    border: none;
    padding: 0.5rem 1rem; /* py-2 px-4 */
    font-size: 1rem;
    border-radius: 0.25rem; /* rounded */
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.rounded-button.grey {
background-color: #46494b;
}

.rounded-button.grey:hover {
background-color: #28292b;
}

.rounded-button.grey:disabled {
background-color: #8c9296;
}

.rounded-button.green {
background-color: #13A64A;
}

.rounded-button.green:hover {
background-color: #0E8D5A;
}

.rounded-button.green:disabled {
background-color: #0A756A;
}

/* body {
    margin: 0; 
    font-family: Helvetica, sans-serif; 
    background: #f7f7f7;
} */

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: Helvetica, sans-serif;
}

#main {
    flex: 1; /* Takes up remaining height */
    display: flex;
    flex-direction: column;
}

.stretch-down {
    flex: 1; /* Takes up remaining height */
    display: flex;
    flex-direction: column;
}


.top-bar {
    display: flex; 
    color: white; 
    padding: 6px 20px;
    background-color: var(--color-beyondblue);
}

#tooltip, .tooltip {
    position: absolute;
    background: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 9999;
    display: none;
}

.help_tooltip {
    position: absolute;
    background: #f7f7f7;
    color: black;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 9999;
    display: none;
}

.popup-center {
    position: fixed;
    top: 0; 
    left: 0;
    right: 0; 
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.popup-center-content {
    background: white;
    padding: 20px;
    min-width: 400px;
    text-align: center;
}

    .textbox {
        margin: 5px;
        padding: 5px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .form-row {
        margin: 10px 0;
    }

    .hidden {
        display: none;
    }

    .popup-error {
        color: red;
        margin-top: 5px;
    }
    .popup-success {
        color: black;
        margin-top: 5px;
    }

    textarea {
        resize: none;
    }

    
.red_button {
        position: absolute;
        top: 10px;
        right: 15px;
        border: none;
        background: red;
        color: white;
        padding: 5px 10px;
        cursor: pointer;
    }

select:invalid {
    color: gray; /* placeholder text in selects*/
}