.event-modal {
  &__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  &__more-options {
    border-top: 1px solid #f1f3f4;
    padding-top: 0.5rem;
  }

  &__more-options-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.875rem;
    color: #5f6368;
    transition: background-color 0.15s;

    &:hover {
      background-color: #f8f9fa;
    }

    .material-icons {
      font-size: 20px;
    }
  }

  &__more-options-content {
    display: flex;
    flex-direction: column;
    border: 1px solid #e8eaeb;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 0.5rem;
  }
}

// DateTimeSection layout
.datetime-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  &__inputs {
    display: flex;
    gap: 0.5rem;
    flex: 1;
  }

  &__arrow {
    align-self: center;
    margin: 0 8px;
    font-size: 20px;
    color: #888;
  }

  &__allday {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #5f6368;
    cursor: pointer;
  }
}

@media (max-width: 768px) {
  .datetime-section__inputs {
    flex-direction: column;
  }

  .datetime-section__arrow {
    display: none;
  }
}

// VideoConferenceSection layout
.video-conference-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;

  &__link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  &__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  &__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    color: #5f6368;
    flex-shrink: 0;

    &:hover {
      background-color: #f1f3f4;
    }

    .material-icons {
      font-size: 18px;
    }
  }
}

// RemindersSection layout
.reminders-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  &__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  &__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    color: #5f6368;
    flex-shrink: 0;

    &:hover {
      background-color: #f1f3f4;
    }

    .material-icons {
      font-size: 18px;
    }
  }
}

// AttachmentsSection layout
.attachments-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  &__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 0.8125rem;
  }

  &__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  &__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #202124;
  }

  &__size {
    color: #5f6368;
    font-size: 0.75rem;
  }

  &__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    color: #5f6368;
    flex-shrink: 0;

    &:hover {
      background-color: #e8eaeb;
    }

    .material-icons {
      font-size: 16px;
    }
  }
}

// StatusSection layout
.status-section {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
