


#rsvp-container {
    margin: 30px auto 100px auto;
    max-width: 600px;
}

p {
    padding: 10px 0;
}

.rsvp-section {
    padding: 20px;
    border-top: 1px solid #CCCCCC;
}

.rsvp-section-no-border {
    padding: 20px;
}

.rsvp-title {
    font-size: 24px;
    line-height: 36px;
    padding-bottom: 10px;
    font-family: Krub, sans-serif;
    font-weight: 600;
    color: var(--champagne);
}

.rsvp-subtitle {
    font-size: 18px;
    line-height: 24px;
    padding: 20px 0 0 0;
    font-weight: bold;
}

.rsvp-checkbox {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0 10px 20px;
    cursor: pointer;
}

.guest-card {
    margin: 10px 0;
    padding: 20px;
    border: 1px solid var(--champagne);
    border-radius: 8px;
    background: white;
    position: relative;
}

.guest-card .name {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-blue)
}

.guest-card .email {
    font-size: 16px;
    font-style: italic;
}

.guest-card .spacer {
    display: block;
    height: 10px;
}

.guest-card .info strong {
    font-weight: 500;
    color: var(--champagne);
}

.guest-card .btn-edit {
    display: block;

    margin-top: 20px;
    color: #AAAAAA;
    border: 1px solid #CCCCCC;
    transition: 0.3s;
    cursor: pointer;

    text-align: center;
    padding: 10px 15px;
}

@media (min-width: 600px) {
    .guest-card .btn-edit {
        position: absolute;
        top: 15px;
        right: 15px;
        display: inline-block;
        margin-top: 0;
        padding: 5px 15px;
        text-align: left;
    }
}

.guest-card .btn-edit:hover {
    color: #333333;
    border: 1px solid #333333;
}

.guest-card .btn-bold {
    background: #333333;
    color: #FFFFFF;
    border: 1px solid #333333;
}

.guest-card .btn-bold:hover {
    background: #FFFFFF;
    color: #333333;
    border: 1px solid #333333;
}

#song-input {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    margin: 10px 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
}

.song-card {
    display: grid;
    grid-template-columns: 50px 1fr 40px;
    gap: 10px;
    padding: 8px;
    background: #EFEFEF;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    margin: 10px 0;
}

.song-card-art {
    width: 50px;
    height: 50px;
    border: 1px solid #CCCCCC;
    border-radius: 2px;
}

.song-card-info {
    overflow: hidden;
}

.song-card-title {
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
}

.song-card-artist {
    font-style: italic;
    overflow: hidden;
    white-space: nowrap;
    font-size: 14px;
}

.song-card-btn {
    display: grid;
    place-items: center;
    margin: auto 0;
    padding: 5px 10px;
    color: #AAAAAA;
    transition: 0.3s;
    cursor: pointer;
}

.song-card-btn:hover {
    color: #333333;
}

#song-input {
    margin-bottom: 0;
}

#song-selector {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.song-selector-open {
    border-left: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
}

.song-search-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    grid-template-areas:
        "art title"
        "art artist";
    column-gap: 10px;
    border-bottom: 1px solid #CCCCCC;
    padding: 5px;
    box-sizing: border-box;
    transition: 0.3s;
    cursor: pointer;
}

.song-search-item:hover {
    background: #f2ebda;
}

.song-search-art {
    grid-area: art;
    width: 50px;
}

.song-search-title {
    grid-area: title;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
}

.song-search-artist {
    grid-area: artist;
    font-style: italic;
    overflow: hidden;
    white-space: nowrap;
    font-size: 14px;
}

#edit-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .5);
    display: grid;
    place-items: center;
    z-index: 1000;
}

#edit-container {
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    box-sizing: border-box;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    overflow-x: scroll;
}

@media (max-width: 600px) {
    #edit-container {
        height: 100vh;
        max-height: 100vh;
    }
}

#edit-header {
    display: grid;
    grid-template-columns: 1fr 50px;
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid #CCCCCC;
    padding: 15px 10px 15px 25px;
    background: var(--dark-blue);
}

.edit-title {
    font-size: 24px;
    line-height: 36px;
    font-family: Krub, sans-serif;
    font-weight: 600;
    color: white;
}

.edit-close {
    display: grid;
    place-items: center;
    color: #AAAAAA;
    transition: 0.3s;
    cursor: pointer;
    font-size: 1.8em;
}

.edit-close:hover {
    color: var(--champagne);
}

#edit-body {
    overflow-x: scroll;
    padding: 25px;
}

.edit-section {
    padding: 20px 0;
}

.edit-section:first-child {
    padding-top: 0;
}

.edit-section:last-child {
    padding-bottom: 0;
}

.edit-subtitle {
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
}

.edit-checkbox {
    padding: 10px 0;
}

.edit-checkbox:last-child {
    padding-bottom: 0;
}

.edit-item label {
    display: block;
    padding-top: 12px;
    font-weight: 500;
}

.edit-item input[type=text] {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    background: #FFFFFF;
    border: 1px solid #AAAAAA;
}

.edit-item select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    background: #FFFFFF;
    border: 1px solid #AAAAAA;
}

.edit-item textarea {
    width: 100%;
    min-height: 100px;
    box-sizing: border-box;
    padding: 8px 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    background: #FFFFFF;
    border: 1px solid #AAAAAA;
    resize: none;
}

.edit-item input:focus,
.edit-item textarea:focus,
.edit-item select:focus {
    outline: 1px solid var(--champagne);
}

#edit-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 15px;
    background: #FFFFFF;
    border-top: 1px solid #CCCCCC
}

.edit-btn-dark,
.edit-btn-light {
    display: block;
    text-align: center;
    padding: 8px 20px;
}

.edit-btn-dark {
    background: #333333;
    color: #FFFFFF;
    transition: 0.3s;
    cursor: pointer;
    border: 1px solid #333333;
}

.edit-btn-dark:hover {
    background: #EFEFEF;
    color: #333333;
}

.edit-btn-light {
    background: #FFFFFF;
    color: #333333;
    transition: 0.3s;
    cursor: pointer;
    border: 1px solid #333333;
}

.edit-btn-light:hover {
    background: #EFEFEF;
    color: #333333;
}

.rsvp-btn-container {
    padding: 10px 0;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.rsvp-btn {
    display: inline-block;
    text-align: center;
    padding: 8px 20px;
    background: #333333;
    color: #FFFFFF;
    transition: 0.3s;
    cursor: pointer;
    border: 1px solid #333333;
    flex-grow: 1;
}

.rsvp-btn-cancel {
    background: #FFFFFF;
    color: #333333;
}

.rsvp-btn:hover {
    background: #EFEFEF;
    color: #333333;
}

/* CHECKBOX */

    input[type=checkbox] {
	  /* Add if not using autoprefixer */
	  -webkit-appearance: none;
	  /* Remove most all native input styles */
	  -moz-appearance: none;
	       appearance: none;
	  /* For iOS < 15 */
	  background-color: var(--form-background);
	  /* Not removed via appearance */
	  margin: 0;
	  font: inherit;
	  color: currentColor;
	  width: 1.5em;
	  height: 1.5em;
	  border: 2px solid #AAAAAA;
	  border-radius: 0.15em;
	  transform: translateY(-0.075em);
	  display: grid;
	  place-content: center;
	  user-select: none;
      flex-shrink: 0;
	}

	input[type=checkbox]::before {
	  content: "";
	  width: 0.85em;
	  height: 0.85em;
	  -webkit-clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
	          clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
	  transform: scale(0);
	  transform-origin: center;
	  transition: 120ms transform ease-in-out;
	  box-shadow: inset 1em 1em var(--form-control-color);
	  /* Windows High Contrast Mode */
	  background-color: var(--champagne);
	  user-select: none;
	}

	input[type=checkbox]:checked::before {
	  transform: scale(1);
	}

	input[type=checkbox]:focus {

	}

