.challenge-view-compact {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.challenge-view-compact-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.challenge-view-compact-title h1 {
    margin: 0;
    line-height: 1.15;
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

.challenge-view-compact-title .card-header-right {
    margin-left: auto;
}

.challenge-view-compact-toggle {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 2px;
}

.challenge-view-period {
    margin: 4px 0 8px;
    font-size: 0.88rem;
    color: #555;
}

.challenge-view-details {
    display: none;
}

.challenge-view-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.82rem;
    color: #666;
}

.challenge-view-meta-inline {
    margin: 6px 0 10px;
}

.challenge-view-meta-inline .meta-user {
    padding: 2px 0;
}

.challenge-view-meta-inline .meta-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.challenge-view-description {
    color: #555;
    line-height: 1.35;
    text-align: left;
}

.challenge-view-card {
    padding: 10px !important;
    margin-bottom: 12px !important;
}
/* Show it is fixed to the top */

body {
    margin: 0;
    overflow:auto;
}

* {
    font-family: Arial, 'Malgun Gothic';
    font-size: 11px;
    color: #666;
}

*[disabled="disabled"] {
    /*color: #cccccc;*/
}

label {
    user-select: none;
}

button {
    user-select: none;
    cursor: pointer;
}

.block {
    display: block !important;
}

.app {
}

.container {
    width: 100%;
}

.header {
    display: flex;
    align-items: center;
    width: 100%;
    height: 60px;
    justify-content: space-between;
    background: #031462;
    padding: 0;
}

.header-title {
    padding-left: 20px;
    color: #000000;
    font-size: 15px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    width: 80px;
    vertical-align: middle;
}

.header-title-text {
    color: white;
}

.header-right-box {
    padding-right: 10px;
    color: #eeeeee;
    display: flex;
    text-align: center;
    vertical-align: middle;
}

.header-right-box > a {
    color: #eeeeee;
}

.header-coin-box {
    display: inline-block;
}

.header-message-box {
    display: inline-block;
}

.logo {
    width: 50px;
    height: 50px;
    margin-left: 20px;
}

gymcash-box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

gymcash-box a {
    text-decoration: none;
}

.gymcash-text {
    display: inline-block;
    margin-left: 5px;
    font-size: 120%;
    color: white;
    text-decoration: none;
    vertical-align: text-bottom;
}

message-box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

message-box a {
    text-decoration: none;
}

message-box img {
    width: 20px;
}

main-navigation {
    position: relative;
    display: block;
    height: 40px;
    z-index:200;
}

.main-navigation {
    padding: 0;
    margin: 0;
    list-style-type: none;
    border-bottom: 1px solid #bbbbbb;
    display: flex;
    justify-content: space-around;
}

.main-navigation > li {
    height: 40px;
    border-collapse: collapse;
    border-top: none;
    border-left: none;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666666;
}

.main-menu-selected {
    font-weight: bold;
    font-color: black;
}


.main-navigation > li:first-child {
}

.main-navigation > li:last-child {
}

.main-navigation-mybusiness {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}


main-content {
    position: absolute;
    top: 100px;
    bottom: 70px;
    padding: 10px;
    display: block;
    overflow:auto;
    width: -webkit-fill-available;
}

footer {
    text-align: center;
    width: 100%;
    height: 60px;
    border-top: 1px solid #dddddd;
    background: #eee;
    padding-top: 10px;
    color: #999999;
    position: absolute;
    bottom: 0;
}

.footer-item, .footer-item * {
    font-size: 70%;
    color: #999999;
}

footer .footer-item:not(:last-of-type)::after {
    content: '\00B7';
    margin: 0 .25em 0 .25em;
}

button {
    background: #fbfbfb;
    border: 1px solid #ccc;
    border-radius: 3px;
    line-height: 100%;
    color: #666666;
    padding: 5px;
}

input {
    height: 23px;
    border: 1px solid #dddddd;
    border-radius: 3px;
    line-height: 1.2;
}

input[type=checkbox] {
    min-width: 15px;
    vertical-align: middle;
    position: relative;
    bottom: 1px;
    height: auto;
}

select {
    height: 28px;
    border: 1px solid #dddddd;
    border-radius: 3px;
    line-height: 1.2;
    min-width: 70px;
}

input[type="text"], input[type="email"], input[type="number"], input[type="tel"], input[type="password"], input[is="auto-complete-input"], textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="text"], input[type="email"], input[type="password"], input[is="auto-complete-input"], textarea {
    min-width: 220px;
}


textarea {
    border: 1px solid #dddddd;
    border-radius: 3px;
    min-width: 250px;
    min-height: 100px;
}

form {

}

.form-control {
    height: 24px;
}

.login-form-container {
    display: inline-block;
    border-radius: 5px;
    border: 1px solid #bbbbbb;
    width: auto;
    padding: 10px;
}

.login-function-container {
    padding-top: 10px;
}

.center-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.etc-interest {
    width: 150px;
}

#interestContainer {
    padding: 5px;
}

.interest-label {
    display: inline-block;
    width: 60px;
    /*vertical-align: super;*/
}

.checkbox-text {
    display: inline-block;
    width: 60px;
    vertical-align: super;
}

.radio-text {
    display: inline-block;
    width: 70px;
    vertical-align: super;
}

.interest-label:last-child {
    width: 70px;
}

.form-input {
    width: 50%;
}

.form-input-wide {
    width: 100%;
}


input[name="properTimeStart"] {
    width: 40%;
}

input[name="properTimeEnd"] {
    width: 40%;
}

#etcInterestContainer {
    padding: 7px 0 7px 0;
}


/*Business Style*/
#gymSelect {
    width: 100px;
}


.popup-title {
    font-size: 110%;
    font-weight: bold;
    display: flex;
    align-items: center;
    padding: 5px;
}

.popup-function-button-container {
    padding-left: 10px;
    margin-left: auto;
    order: 2;
}

.popup-subtitle {
    padding-top: 10px;
    padding-bottom: 5px;
    font-size: 110%;
}

.sub-description-ul {
    padding-left: 90%;
    margin: 0;
}

.sub-description-ul li {
    padding: 2px;
}

.sub-description {
    font-size: 80%;
    color: #999;
    padding: 5px
}

.input-time {
    width: 50px;
}

.popup-container {
    box-sizing: border-box;
    position: fixed;
    width: 95%;
    height: 95%;
    top: 2.5%;
    left: 2.5%;
    border-radius: 5px;
    background-color: #ffffff;
    padding: 10px;
    overflow-y:auto;
}

.popup-background {
    box-sizing: border-box;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #666666;
    opacity: 70%;
}

.popup {
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 10px;
    z-index: 2;
}

.menu-list {
    list-style-type: none;
}

.menu-list li {
    padding: 5px;
}

.pages {

}

.page {
    display: none;
}

.page:first-child {
    display: inline-block;
}

.info-container {
    padding-left: 15px;
    padding-right: 15px;
}


.info-row {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    border-top: 1px solid #eeeeee;
    padding-top: 8px;
    padding-bottom: 8px;
    vertical-align: middle;
    min-height: 40px;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-break {
    flex-basis: 100%;
    height: 0;
}


.display-block {
    display: block;
}

.info-row-last {
    border-bottom: 1px solid #eeeeee;
}

.info-row-sub-row {
    padding-top: 2px;
    padding-bottom: 5px;
}

.info-icon {
    vertical-align: middle;
    width: 15px;
    margin-right: 5px
}

.info-label {
    display: inline-block;
    min-width: 90px;
}

.info-label-narrow {
    display: inline-block;
    min-width: 60px;
}

.info-label-vertical {
    display: block;
    margin-bottom: 10px;
}

.info-guide {
    padding-left: 100px;
    padding-bottom: 5px;
}

.info-input-container {
    display: inline-block;
}

.info-input-container-row {
    padding: 3px 0px 3px 0px;
}

.info-function-container {
    box-sizing: border-box;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 20px;
    width: 100%;
    text-align: right;
    border-top: 1px solid #eeeeee;
}

.filebox label {
    margin-left: 100px;
    margin-bottom: 10px;
    display: inline-block;
    padding: .5em .75em;
    color: #999;
    font-size: inherit;
    line-height: normal;
    vertical-align: middle;
    background-color: #fdfdfd;
    cursor: pointer;
    border: 1px solid #ebebeb;
    border-bottom-color: #e2e2e2;
    border-radius: .25em;
}

.filebox input[type="file"] { /* 파일 필드 숨기기 */

    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin-left: 130px;
    margin-top: 30px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


.align-left {
    float: left;
}

.align-right {
    float: right;
}

.gym-profile-box {

}

.gym-profile-box-info {

}

.list {

}

.list table {
    border-collapse: collapse;
    font-size: 100%;
    width: 100%;
}

.list table tr {

}

.list table tbody tr:hover {
    background-color: #e2edff;
}


.list table td {
    border-bottom: 0.5px solid #ddd;
    padding: 8px 5px 8px 5px;
    vertical-align: middle;
}

.list table th {
    border-bottom: 1px solid #bbb;
    padding: 8px 5px 8px 5px;
}

.list-row {
    text-align: center;
}

.list-row-highlight {
    background-color: #fff6ee;
}

.list-icon-today {
    width: 15px;
    height: 15px;
    vertical-align: middle;
    padding-left: 5px;
}

.subtitle1 {
    margin: 15px 0 30px 0;
    font-size: 120%;
    font-weight: 700;
}

.subtitle {
    font-size: 120%;
    font-weight: 700;
}

#repeatInfoContainer {
    display: inline-block;
}


h1 {
    margin: 15px 0 15px 0;
    font-size: 130%;
    font-width: bold;
}

h2 {
    margin: 10px 0 10px 0;
    font-size: 120%;
    font-width: bold;
}

.copyright {
    margin-top: 15px;
    font-size: 80%;
}

.top-profile-icon {
    width: 30px;
}

.top-profile-picture {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #999999;
    background-color: #999;
    vertical-align: -webkit-baseline-middle;
}

.badge-icon {
    border-radius: 50%;
}

.badge-icon-my {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.float-right {
    float: right
}

.no-top-border {
    border-top: none !important;
}

#prevDateLink {
    display: inline-block;
    margin-right: 10px;
    cursor: pointer;
    font-size: 18px;
}

#nextDateLink {
    display: inline-block;
    margin-left: 10px;
    cursor: pointer;
    font-size: 18px;
    vertical-align: center;
}

#coachList {
    display: inline-block;
}

.span-input {
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}

.my-gym-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #999999;
}

#sessionInfo {
}

.line {
    border-top: 1px solid #eeeeee;
    margin-top: 10px;
    margin-bottom: 10px;
}

.flex-inner-box {
    width: 100%;
}

.flex-float-right {
    margin-left: auto;
    order: 2;
}

.float-left {
    float: left;
}

.flex-grow-right-align {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end
}

#equipmentContainer {
}

.non-editible-input {
    border: none;
    background: transparent;
}

.basic-table {
    width: 100%;
    cell-spacing: 0;
    border-collapse: collapse;
}

.basic-table th {
    padding: 5px;
}

.basic-table thead {
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

.basic-table td {
    padding: 5px;
    text-align: center;
}

#chart1, #chart0 {
    max-height: 150px;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #eeeeee;
    margin: 1em 0;
    padding: 0;
}

.margin-left-5 {
    margin-left: 5px
}

.margin-left-10 {
    margin-left: 10px
}

.margin-left-20 {
    margin-left: 20px
}

.medal-icon1 {
    width: 15px;
    height: 15px;
    margin-left: 5px;
}

.rank-tr td img {
    vertical-align: top;
}

.compare-session-tr td {
    text-align: center;
}

.compare-session-link {
    margin-left: 10px;
}

.session-container {
    display: inline-block;
}

.icon-compare {
    width: 20px;
}

.calorie-history-table * {
    font-size: 11px !important;

}

.calorie-history-table > td,
.calorie-history-table > th {
    padding: 4px 5px !important;
}

.action-highlight-button {
    font-size: 140%;
    height: 50px;
    color: #ffffff;
    background-color: #153270;
    border-radius: 10px;
}

.pt-list {
    width: 100%;
}

.pt-list tr {
    height: 40px;
}

.pt-list tr td {
}

.pt-reserved {
    background-color: #eeeeee;
}

.pt-reserved td {
    color: #999;
}

.ellipsis-class-name {
    max-width: 150px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

gym-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gym-logo-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #999;
    border: 2px solid #999999;
    margin-left: 20px;
    vertical-align: -webkit-baseline-middle;
}

.gym-logo-title {
    vertical-align: middle;
    margin-left: 10px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}

.gym-logo-title::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.no-deco-link {
    text-decoration: none;
}

.profile-preview {
    border: 2px solid #999;
    background-color: #999;
    vertical-align: -webkit-baseline-middle;
}

.reserve-navigation-img {
    width: 20px;
    height: 20px;
}

.badge-preview {
    width: 23px;
    height: 23px;
    margin-left: 10px;
}

.badge-preview-large {
    width: 50px;
    height: 50px;
    margin-left: 10px;
}

.badge-autocomplete-item {
    display: flex;
    pointer-events: none;
}

.function-button-spacer {
    margin: 0 5px 0 5px;
}

.reserved-row {
    background-color: #ffe3db;
}

#badgeContainer {
    height: 80px;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-bottom: -10px;
    align-content: flex-start;
}

.badge-placeholder {
    display: inline-block;
    width: 120px;
    height: 160px;
    margin-bottom: 10px;
    cursor: pointer;
}

.badge-placeholder-icon {
    width: 100%;
}

.badge-placeholder-title {
    text-align: center;
    font-size: 14px;
}

.badge-count {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    vertical-align: middle;
    position: absolute;
    border-radius: 50%;
    border: 2px solid #cccccc;
    background-color: #ff3131;
    color: white;
    width: 35px;
    height: 35px;
    font-size: 16px
}

.inactive {
    opacity: 0.3;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.active {
    opacity: 1;
}

.display-none {
    display: none;
}

.display-inline-block {
    display: inline-block;
}

.display-inline-flex {
    display: inline-flex;
}

.display-flex {
    display: flex;
}

textarea[name=feedback], textarea[name=trainerComment] {
    min-height: 70px;
    height: 70px;
    width: 100%;
}

.link-text {
    text-decoration: underline;
}

.link-text:hover {
    cursor: pointer;
}

.padding-top-40 {
    padding-top: 40px;
}

.no-underscore {
    text-decoration: none !important;
}

.my-container {
    margin-top: 20px;
    margin-bottom: 10px;
}

.hidden {
    display: none !important;
}

.flex-vcenter{
    display: flex;
    align-items: center;
}

@media (hover: none), (pointer: none), (pointer: coarse) {
    * {
        font-size: 13px;
    }


    main-content {
        bottom: 0px;
    }

    footer {
        display: none;
    }

    html, body {
        height: 100%;
    }

    button {
        padding: 10px;
    }

    .list table td {
        line-height: 180%;
        border-bottom: 0.9px solid #ddd;
        padding: 8px 5px 8px 5px;
    }
}

.mt-10 {
    margin-top: 10px;
}

.mb-10 {
    margin-bottom: 10px;
}

.top-notice-row {
    padding: 8px 0 8px 0;
    font-size: 13px;
    text-overflow: ellipsis;
    border-bottom: 1px solid #eee;
}

.top-notice-title {
    display:flex;
    height:30px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.top-notice {

}

.reservation-notice {
    padding-top:5px;
    font-size: 14px;
    text-overflow: ellipsis;
}

.notice-more-button {
    font-family: monospace;
    display: inline-block;
    margin-left: 5px;
    border-radius: 2px;
    padding: 1px 2px;
    border: 1px solid #eee;
    font-size: 9px;
}

.mw-80px {
    min-width: 80px;
}

.schedule-input {
    font-size: 1.8em;
    padding: 12px;
    width: 300px;
    height: 50px;
}

#prevDateLink, #nextDateLink {
    font-size: 1.8em;
    padding: 12px;
    min-width: 60px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.reserve-navigation-img {
    width: 30px;
    height: 30px;
}

.tox-promotion-button {
    display: none !important;
}

/* Mission specific styles */
.mission-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 20px;
}

.mission-info-item {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.mission-info-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.mission-info-value {
    font-weight: bold;
    color: #333;
}

.mission-item-card {
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    margin-bottom: 10px;
}

.mission-item-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.mission-item-content {
    flex: 1;
    text-align: left;
}

.mission-item-description {
    font-weight: bold;
    margin-bottom: 5px;
}

.mission-item-action {
    color: #666;
    font-size: 0.9rem;
}

.mission-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mission-item-quantity input {
    width: 100px;
    padding: 5px 10px;
}

.progress-section {
    margin: 20px 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: bold;
}

.progress-bar-container {
    width: 100%;
    height: 24px;
    background-color: #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.85rem;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
}

.status-registered {
    background-color: #fff3cd;
    color: #856404;
}

.status-in_progress {
    background-color: #cce5ff;
    color: #004085;
}

.status-completed {
    background-color: #d1ecf1;
    color: #0c5460;
}

.status-approved {
    background-color: #d4edda;
    color: #155724;
}

.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
}

.comment-card {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 15px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #666;
}

.comment-author {
    font-weight: bold;
    color: #333;
}

.comment-content {
    color: #333;
    line-height: 1.5;
    text-align: left;
}

.section-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 20px;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Challenge specific styles */
.challenge-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #dee2e6;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #007bff;
    background-color: #f8f9fa;
}

.tab-btn.active {
    color: #007bff;
    border-bottom-color: #007bff;
    background-color: #f8f9fa;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.challenge-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.challenge-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.challenge-card h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.2rem;
}

.challenge-card p {
    color: #666;
    line-height: 100%;
}

.challenge-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.challenge-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-active {
    background-color: #d4edda;
    color: #155724;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.challenge-actions {
    display: flex;
    gap: 10px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: #999;
}

/* Filter styles */
.filter-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.filter-group {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 10px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.filter-actions {
    display: inline-block;
    margin-left: 20px;
}

/* Action button styles */
.action-btn {
    padding: 4px 8px;
    font-size: 12px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.action-btn.view {
    background-color: #007bff;
    color: white;
}

.action-btn.view:hover {
    background-color: #0056b3;
}

.action-btn.join {
    background-color: #28a745;
    color: white;
}

.action-btn.join:hover {
    background-color: #1e7e34;
}

.action-btn.edit {
    background-color: #ffc107;
    color: #212529;
}

.action-btn.edit:hover {
    background-color: #e0a800;
}

.challenge-actions-cell {
    display: flex;
    gap: 5px;
}

/* Card specific styles */
.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
    flex-wrap: wrap;
}

.card-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.card-header-flex h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
    flex: 1;
    word-break: break-word;
}

.card-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
}

.meta-item {
    color: #666;
    font-weight: 500;
}

.meta-user {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    width: 100%;
}

.meta-user-icon {
    font-size: 0.9rem;
}

.meta-user-name {
    flex: 1;
    min-width: 0;
}

.meta-date {
    color: #999;
    font-weight: 400;
    font-size: 0.85rem;
    margin-left: auto;
    white-space: nowrap;
}

.challenge-scope-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #6f42c1;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background-color: #17a2b8;
}

.challenge-scope-badge.scope-gym {
    background-color: rgba(111, 66, 193, 0.15);
    color: #6f42c1;
    border-color: #6f42c1;
}

.challenge-scope-badge.scope-public {
    background-color: rgba(23, 162, 184, 0.15);
    color: #17a2b8;
    border-color: #17a2b8;
}

.card-actions-footer {
    display: flex;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.card-actions-footer .action-btn {
    flex: 1;
}

.signup-form-container {
    background: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.signup-form-container h1 {
    text-align: center;
    margin: 0 0 1.5rem;
    color: #2d3748;
    font-size: 1.75rem;
}

.challenge-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-weight: 600;
    color: #4a5568;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

.form-group textarea {
    min-height: 110px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background-color: #4299e1;
    color: white;
}

.btn-primary:hover {
    background-color: #3182ce;
}

.btn-secondary {
    background-color: #e2e8f0;
    color: #4a5568;
}

.btn-secondary:hover {
    background-color: #cbd5e0;
}

.form-guide {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.form-guide h2 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    color: #2d3748;
}

.form-guide ul {
    margin: 0;
    padding-left: 1.25rem;
    color: #4a5568;
    line-height: 1.5;
}

.form-guide li + li {
    margin-top: 0.35rem;
}

.form-error {
    color: #dc3545;
    font-size: 0.88rem;
    margin-top: 0.5rem;
}

@media (max-width: 640px) {
    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}
