 * {
     box-sizing: border-box;
     margin: 0;
     padding: 0;
 }

 body {
     background: #0f0f10;
     color: #f5f5f5;
     font-family: Arial, Helvetica, sans-serif;
     min-height: 100vh;
     padding: 3rem 1.5rem;
 }

 .background-glow {
     position: fixed;
     width: 700px;
     height: 700px;
     background: radial-gradient(circle, rgba(180, 0, 0, 0.35) 0%, rgba(180, 0, 0, 0) 70%);
     filter: blur(40px);
     z-index: 0;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
 }

 .page {
     position: relative;
     z-index: 1;
     max-width: 1100px;
     margin: 0 auto;
 }

 .tag {
     display: inline-block;
     background: rgba(193, 18, 31, 0.15);
     color: #ff6b6b;
     border: 1px solid rgba(255, 107, 107, 0.25);
     padding: 0.45rem 0.9rem;
     border-radius: 999px;
     font-size: 0.8rem;
     letter-spacing: 1px;
     text-transform: uppercase;
     margin-bottom: 1rem;
 }

 h1 {
     font-size: clamp(2rem, 5vw, 3.5rem);
     margin-bottom: 0.75rem;
 }

 .accent {
     color: #e63946;
 }

 .subtitle {
     color: #a7a7aa;
     line-height: 1.6;
 }

 .layout {
     display: grid;
     grid-template-columns: 1fr 1.1fr;
     gap: 2rem;
     margin-top: 2rem;
 }

 .card {
     background: rgba(20, 20, 22, 0.94);
     border: 1px solid #2d2d2f;
     border-top: 4px solid #c1121f;
     border-radius: 18px;
     padding: 2rem;
     box-shadow: 0 0 40px rgba(0, 0, 0, 0.35);
 }

 .section-title {
     font-size: 1.4rem;
     margin-bottom: 1.5rem;
 }

 form {
     display: grid;
     gap: 1.25rem;
 }

 .grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 1.25rem;
 }

 .field {
     display: flex;
     flex-direction: column;
 }

 label {
     margin-bottom: 0.5rem;
     color: #d0d0d2;
     font-size: 0.95rem;
 }

 input,
 select,
 textarea {
     width: 100%;
     background: #18181b;
     border: 1px solid #313136;
     color: white;
     padding: 1rem;
     border-radius: 12px;
     font-size: 1rem;
     transition: 0.2s ease;
 }

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

 input:focus,
 select:focus,
 textarea:focus {
     outline: none;
     border-color: #c1121f;
     box-shadow: 0 0 0 3px rgba(193, 18, 31, 0.2);
 }

 .label-card {
     background: #18181b;
     border: 1px solid #2f2f35;
     border-radius: 14px;
     padding: 1.25rem;
     margin-bottom: 1rem;
 }

 .label-top {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 1rem;
 }

 .beer-name {
     font-size: 1.15rem;
     font-weight: bold;
 }

 .event-tag {
     background: rgba(193, 18, 31, 0.15);
     color: #ff6b6b;
     border: 1px solid rgba(255, 107, 107, 0.2);
     padding: 0.3rem 0.7rem;
     border-radius: 999px;
     font-size: 0.75rem;
 }

 .details {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 0.75rem;
     color: #b5b5b8;
     font-size: 0.95rem;
 }

 .detail strong {
     display: block;
     color: #ffffff;
     margin-bottom: 0.2rem;
     font-size: 0.85rem;
 }

 .button-row {
     display: flex;
     gap: 0.75rem;
     margin-top: 1rem;
 }

 button {
     border: none;
     padding: 0.9rem 1.2rem;
     border-radius: 10px;
     cursor: pointer;
     transition: 0.2s ease;
     font-weight: bold;
     font-size: 0.95rem;
 }

 .edit-button {
     background: transparent;
     color: #ff6b6b;
     border: 1px solid rgba(255, 107, 107, 0.3);
 }

 .edit-button:hover {
     background: rgba(193, 18, 31, 0.12);
 }

 .submit-button {
     width: 100%;
     margin-top: 1.5rem;
     background: #c1121f;
     color: white;
 }

 .submit-button:hover,
 .save-button:hover {
     background: #e63946;
     transform: translateY(-2px);
     box-shadow: 0 8px 24px rgba(230, 57, 70, 0.35);
 }

 /* OVERLAY */

 .overlay {
     position: fixed;
     inset: 0;
     background: rgba(0, 0, 0, 0.78);
     display: none;
     align-items: center;
     justify-content: center;
     z-index: 999;
     padding: 2rem;
 }

 .overlay.active {
     display: flex;
 }

 .overlay-card {
     width: 100%;
     max-width: 720px;
     max-height: 90vh;
     overflow-y: auto;
     background: #141416;
     border: 1px solid #2d2d2f;
     border-top: 4px solid #c1121f;
     border-radius: 18px;
     padding: 2rem;
     box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
 }

 .overlay-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 2rem;
 }

 .close-button {
     background: transparent;
     color: #999;
     border: none;
     font-size: 1.4rem;
     cursor: pointer;
     padding: 0;
 }

 .close-button:hover {
     color: white;
 }

 .save-button {
     background: #c1121f;
     color: white;
     width: 100%;
     margin-top: 1rem;
 }

 .logo-container {
     display: flex;
     justify-content: center;
 }

 .logo-container img {
     /* max-height: 200px; */
     max-width: 150px;
     height: auto;
     width: auto;
 }

 /* .instructions {
            background-color: #2f2f35;
            font-size: 1.25rem;
            padding: 1rem;
        }

        .instructions li {
            margin-bottom: 1rem;;
        } */

 .instructions-card {
     margin-top: 2rem;
     margin-bottom: 2rem;
     background: rgba(20, 20, 22, 0.94);
     border: 1px solid #2d2d2f;
     border-top: 4px solid #c1121f;
     border-radius: 18px;
     padding: 2rem;
     box-shadow: 0 0 40px rgba(0, 0, 0, 0.35);
 }

 .instructions-header {
     margin-bottom: 1.5rem;
 }

 .instructions-header h2 {
     font-size: 1.8rem;
     margin-top: 0.5rem;
 }

 .instructions-list {
     padding-left: 1.5rem;
     color: #b5b5b8;
     line-height: 1.9;
     display: grid;
     gap: 0.75rem;
 }

 .instructions-list li {
     padding-left: 0.35rem;
 }

 .instructions-list strong {
     color: #ffffff;
 }

 @media (max-width: 700px) {

     .instructions-card {
         padding: 1.5rem;
     }

     .instructions-header h2 {
         font-size: 1.5rem;
     }

 }

 @media (max-width: 900px) {
     .layout {
         grid-template-columns: 1fr;
     }
 }

 @media (max-width: 600px) {

     .grid,
     .details {
         grid-template-columns: 1fr;
     }

     .card,
     .overlay-card {
         padding: 1.5rem;
     }

     .label-top {
         flex-direction: column;
         align-items: flex-start;
         gap: 0.75rem;
     }
 }