/* CSS for club pages */

.club-list {
    width: 60vw;
    display: flex;
    flex-direction: column;
    margin: 24px auto;
}

.club-list .club-item {
    width: 100%;
    padding: 8px;
    margin: 4px;
    border-radius: 8px;
    background-color: var(--gray);
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.club-item a {
    text-decoration: none;
    color: var(--black);
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
}

.club-item img {
    height: 24px;
    width: auto;
    object-fit: contain;
    margin-right: 16px;
}

.club-detail {
    width: 80vw;
    margin: 24px auto;
    display: flex;
    flex-direction: row;
}

.club-detail > * {
    min-height: 50vh;
    width: 50%;
    background-color: var(--gray);
    margin: 8px;
    padding: 8px;
    border-radius: 8px;
}

.club-detail section {
    margin: 8px;
}

.club-detail header {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 8px;
}

.club-header {
    width: 100vw;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.club-header h1 {
    font-size: 2em;
}

.club-nav {
    display: flex;
    flex-direction: row;
    align-items: right;
    justify-content: right;
    margin: 8px;
}

.club-nav div.form, .club-nav form {
    width: 150px;
    display: flex;
    text-align: center;
    align-content: center;
    justify-content: center;
    margin: 4px;
}

.club-nav div.form *, .club-nav form input.btn {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    border: solid 1px var(--black-lighter);
    background-color: var(--gray);
    cursor: pointer;
    text-decoration: none;
    color: var(--black);
    align-content: center;
}

.member-card {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 4px;
    padding: 4px;
    border-radius: 4px;
    background-color: var(--gray);
}

.person-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 8px;
}

.person-card img {
    width: 32px;
    aspect-ratio: 4/3;
    height: auto;
    object-fit: cover;
    margin-right: 8px;
}

.member-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: right;
    margin-left: auto;
}

.member-actions > * {
    width: 150px;
    margin: 4px;
}

.member-actions > * * {
    flex: 1 1 0;
    width: 100%;
    margin: 4px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-reject {
    background-color: var(--red);
}

.btn-reject:hover {
    background-color: var(--red-lighter);
}

.btn-approve {
    background-color: var(--green);
}

.btn-approve:hover {
    background-color: var(--green-lighter);
}

.club-line {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: var(--white);
    margin: 4px;
}

.club-line * {
    text-decoration: none;
    color: var(--black);
    margin: 2px;
}
