.register-type {
    display: grid;
    gap: 0;
}

.register-type__content {
    display: grid;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
}

.register-type__legend {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 14px;
    margin-bottom: 15px;
}

.register-type__legend-item {
    display: inline-flex;
    align-items: center;
    color: #696462;
    font-size: 14px;
    line-height: 1.2;
}

.register-type__legend-image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

.register-type__legend-image img {
    height: 14px;
    width: auto;
    object-fit: contain;
}

.register-type__legend-link {
    color: inherit;
    text-decoration: underline;
}

.register-type__legend-link:hover,
.register-type__legend-link:focus {
    color: inherit;
    text-decoration: underline;
}

.register-type__title {
    margin: 0;
    color: #696462;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.register-type__card {
    display: grid;
    grid-template-columns: 85px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 2px solid #ffbc00;
    border-radius: 10px;
    background: #ffbc00;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(33, 33, 33, 0.4);
}

.register-type__card--recording {
    background: #001d51;
    border-color: #001d51;
}

.register-type__card--corporate {
    background: #144dc8;
    border-color: #144dc8;
}

.register-type__card:hover,
.register-type__card:focus {
    background: #ffbc00;
    border-color: #c08d00;
    color: #fff;
    text-decoration: none;
}

.register-type__card--recording:hover,
.register-type__card--recording:focus {
    background: #001d51;
    border-color: #9fb9e1;
}

.register-type__card--corporate:hover,
.register-type__card--corporate:focus {
    background: #144dc8;
    border-color: #072a72;
}

.register-type__card-mode {
    width: 85px;
    min-width: 85px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.register-type__card-mode-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.register-type__card-mode-subtitle {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.35;
    white-space: pre-line;
}

.register-type__card-content {
    min-width: 0;
    text-align: center;
}

.register-type__card-date {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
}

.register-type__card--recording .register-type__card-date,
.register-type__card--corporate .register-type__card-date {
    text-transform: none;
    white-space: normal;
}

.register-type__card-time {
    margin: 2px 0 0;
    font-size: 13px;
    line-height: 1.35;
    white-space: nowrap;
}

.register-type__card-meal {
    margin: 4px 0 0;
    font-size: 12px;
    font-weight: 600;
}

.register-type__card-meta,
.register-type__card-price {
    min-width: 0;
    align-self: center;
    text-align: right;
    line-height: 1.2;
}

.register-type__card--corporate .register-type__card-meta {
    width: 92px;
    min-width: 92px;
}

.register-type__card-price-old {
    margin: 0;
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    text-decoration: line-through;
}

.register-type__card-price-current {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.register-type__card-remaining {
    margin: 4px 0 0;
    font-size: 12px;
}

.register-type__card-price-current--quote {
    margin-left: auto;
    max-width: 86px;
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
}

.register-type--corporate {
    border: 0;
    border-radius: 0;
    padding: 0;
}

.register-type__corporate-title {
    margin: 0 0 10px;
    color: #cccccc;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.register-type__corporate-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.register-type__corporate-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1f2937;
    font-size: 15px;
}

.register-type__corporate-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    object-fit: contain;
}

.register-type__corporate-link {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 10px 15px;
    border: 2px solid #ffbc00;
    border-radius: 4px;
    background: #ffbc00;
    color: #fff;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.register-type__corporate-link:hover,
.register-type__corporate-link:focus {
    border-color: #c08d00;
    box-shadow: 0 0 10px rgba(33, 33, 33, 0.4);
    color: #fff;
    text-decoration: none;
}

.register-type__mobile-button {
    display: none;
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    padding: 10px 14px;
    border: 2px solid #ffbc00;
    border-radius: 6px;
    background: #ffbc00;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(33, 33, 33, 0.4);
}

.register-type__mobile-button:hover,
.register-type__mobile-button:focus {
    border-color: #c08d00;
    color: #fff;
    text-decoration: none;
}
